Move REGISTER_MODULE macro definition

This commit is contained in:
jfmcarreira committed 2014-03-23 15:58:16 +00:00
1 parent b7365875a3
commit 553450e2b0
2 files changed
+9 -9

No files matched your search

-9
View File
@@ -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
+9
View File
@@ -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;