diff --git a/source/ModulesHandle.h b/source/ModulesHandle.h index 4b32fb7..9fc5023 100644 --- a/source/ModulesHandle.h +++ b/source/ModulesHandle.h @@ -42,15 +42,6 @@ namespace plaYUVer { -#define REGISTER_MODULE(X) \ - { \ - if( USE_##X ) \ - { \ - X *pMod = new X(); \ - appendModule( pMod ); \ - } \ - } - class ModulesHandle : public QObject { Q_OBJECT diff --git a/source/PlaYUVerModuleIf.h b/source/PlaYUVerModuleIf.h index 257c6b2..8530630 100644 --- a/source/PlaYUVerModuleIf.h +++ b/source/PlaYUVerModuleIf.h @@ -44,6 +44,15 @@ enum __PlaYUVerModuleTypes VIDEO_LEVEL_MODULE, }; +#define REGISTER_MODULE(X) \ + { \ + if( USE_##X ) \ + { \ + X *pMod = new X(); \ + appendModule( pMod ); \ + } \ + } + typedef struct __PlaYUVerModuleDefinition { int m_pchModuleType;