 | InDesign SDK 20.5 |
24 #ifndef __ModuleExpose__ 25 #define __ModuleExpose__ 29 #define DECLARE_PMCLASSFACTORY(className) \ 30 ClassFactory *Get##className##Factory(); 32 #define DEFINE_PMCLASSFACTORY(className) \ 33 ClassFactory *Get##className##Factory(); \ 34 ClassFactory *Get##className##Factory() { return &kFactory; } 36 #define DEFINE_PMCLASSFACTORYS(className, varName) \ 37 ClassFactory *Get##className##Factory(); \ 38 ClassFactory *Get##className##Factory() { return &varName; } 40 #define BUILD_PMCLASSFACTORY(className) \ 41 Get##className##Factory();