Go to the source code of this file.
|
| | Diana |
| | the Diana namespace is needed because sometimes we use Qt libraries, that use same class names of our software.
|
| |
◆ CREATE_GOLBAL_WRITER_IMPL
| #define CREATE_GOLBAL_WRITER_IMPL |
( |
|
clazz, |
|
|
|
ext |
|
) |
| |
Value:
public:\
QGlobalWriter *
Create(){
return new clazz; }\
};
abstract factory for QGlobalWriter.
virtual QGlobalWriter * Create()=0
Definition at line 85 of file QGlobalWriter.hh.
◆ REGISTER_GLOBAL_WRITER
| #define REGISTER_GLOBAL_WRITER |
( |
|
clazz, |
|
|
|
ext |
|
) |
| |
Value:
extern "C" void registerInFactory ## clazz() {\
QGlobalWriterFactory* pt =
new clazz ## Factory;
\
}
#define CREATE_GOLBAL_WRITER_IMPL(clazz, ext)
static QGlobalRWFactory & GetInstance()
void RegisterGlobalWriter(QGlobalWriterFactory *GRF)
Definition at line 92 of file QGlobalWriter.hh.