Move REGISTER_MODULE macro definition
This commit is contained in:
1 parent
b7365875a3
commit
553450e2b0
2 files changed
+9
-9
No files matched your search
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user