TuttleOFX  1
TuttleOFX/libraries/tuttle/src/tuttle/plugin/Plugin.hpp File Reference
#include <ofxsImageEffect.h>
#include <boost/preprocessor/stringize.hpp>
#include <string>
Include dependency graph for Plugin.hpp:

Go to the source code of this file.

Namespaces

namespace  tuttle
 

global namespace of the project


namespace  tuttle::plugin

Defines

#define mAppendPluginFactoryVersions(ids, ClassName, idString, versionMajor, versionMinor)   tuttle::plugin::appendPluginFactory < ClassName > ( ids, idString, versionMajor, versionMinor, "OFXPLUGIN_" idString "_" BOOST_PP_STRINGIZE( versionMajor ) "." BOOST_PP_STRINGIZE( versionMinor ) );
 Use this macro to declare your plugin in the mainEntry.cpp if you have plugins who don't have the same version in the bundle.
#define mAppendPluginFactory(ids, ClassName, idString)   mAppendPluginFactoryVersions( ids, ClassName, idString, OFXPLUGIN_VERSION_MAJOR, OFXPLUGIN_VERSION_MINOR )
 Use this macro to declare your plugin in the mainEntry.cpp.

Functions

void tuttle::plugin::unusedString (const char *)
 Suppress 'warning: unused variable'.
template<class PluginFactory >
void tuttle::plugin::appendPluginFactory (OFX::PluginFactoryArray &ids, const char *idString, const int versionMajor, const int versionMinor, const char *uniqueId)
 Internal, use mAppendPluginFactory instead.

Define Documentation

#define mAppendPluginFactory (   ids,
  ClassName,
  idString 
)    mAppendPluginFactoryVersions( ids, ClassName, idString, OFXPLUGIN_VERSION_MAJOR, OFXPLUGIN_VERSION_MINOR )

Use this macro to declare your plugin in the mainEntry.cpp.

Definition at line 39 of file Plugin.hpp.

#define mAppendPluginFactoryVersions (   ids,
  ClassName,
  idString,
  versionMajor,
  versionMinor 
)    tuttle::plugin::appendPluginFactory < ClassName > ( ids, idString, versionMajor, versionMinor, "OFXPLUGIN_" idString "_" BOOST_PP_STRINGIZE( versionMajor ) "." BOOST_PP_STRINGIZE( versionMinor ) );

Use this macro to declare your plugin in the mainEntry.cpp if you have plugins who don't have the same version in the bundle.

Definition at line 33 of file Plugin.hpp.