25 #ifndef VIEWEREXTENSIONGENERATOR_H
26 #define VIEWEREXTENSIONGENERATOR_H
28 #if defined(_WIN32) && !defined(__MINGW32__)
29 #pragma warning( disable : 4290 )
36 #include <QStringList>
39 class ViewerExtension;
72 void createFromDom(cepcoreschema::ViewerExtension& dom);
74 bool registerDefaultViewer;
76 QStringList namedViewers;
static const QString testDataDirName
Definition: ExtensionGenerator.cpp:44
Common abstract class to generate extensions.
Definition: ExtensionGenerator.h:49
QString licence
Definition: ExtensionGenerator.h:86
Generate an viewer extension.
Definition: ViewerExtensionGenerator.h:51
ViewerExtensionGenerator(cepcoreschema::ViewerExtension &domViewerExtension, QString viewerExtensionsDirectory, QString licence="")
void writeCFile(QString directory) override
Definition: ViewerExtensionGenerator.cpp:145
void generateTestDataFiles(QString directory, QString testDataDirName) override
Definition: ViewerExtensionGenerator.cpp:236
~ViewerExtensionGenerator()
Definition: ViewerExtensionGenerator.cpp:98
ViewerExtensionGenerator(QString xmlFileName, QString viewerExtensionsDirectory, QString licence="")
Definition: ViewerExtensionGenerator.cpp:50
void generateExtensionClass(QString directory) override
Helpers methods.
Definition: ViewerExtensionGenerator.cpp:105
void writeHFile(QString directory) override
Definition: ViewerExtensionGenerator.cpp:110
Generate a viewer.
Definition: ViewerGenerator.h:51
Definition: ActionExtensionGenerator.h:36