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
|
||||
|
||||
Reference in new issue
Block a user