-
-
Notifications
You must be signed in to change notification settings - Fork 421
Expand file tree
/
Copy pathcode_generator_plugin.h
More file actions
39 lines (29 loc) · 962 Bytes
/
code_generator_plugin.h
File metadata and controls
39 lines (29 loc) · 962 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/**
\ingroup code_generator_plugin
\class CodeGeneratorPlugin
\brief Code generator plugin for pgModeler
*/
#ifndef CODE_GENERATOR_PLUGINH
#define CODE_GENERATOR_PLUGIN_H
#include "pgmodelerplugin.h"
class CodeGeneratorPlugin: public QObject, public PgModelerPlugin {
private:
Q_OBJECT
Q_PLUGIN_METADATA(IID "br.com.pgmodeler.PgModelerPlugin" FILE "code_generator.json")
//! \brief Declares the interface which is used to implement the plugin
Q_INTERFACES(PgModelerPlugin)
void *widget;
void *generator;
public:
CodeGeneratorPlugin(void);
~CodeGeneratorPlugin(void);
QString getPluginTitle(void);
QString getPluginVersion(void);
QString getPluginAuthor(void);
QString getPluginDescription(void);
QKeySequence getPluginShortcut(void);
void executePlugin(ModelWidget *);
public slots:
void showPluginInfo(void);
};
#endif