#include <string.h>
#include "ofxCore.h"
#include "ofxProperty.h"
#include "ofxImageEffect.h"

This section of code shows the headers used by the invert plug-in. It includes three OFX header files (you can tell because they start with "ofx") which are...

  • ofxCore.h which provides definitions for the underlying plug-in loading mechanisms
  • ofxProperty.h which defines the property getting/setting suite
  • ofxImageEffect.h which provides access to the image effect suite

The system include file string.h is for use of strcmp as the API passes strings about rather than integers or enums to specify actions and properties.