Rev 512 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
288 | Franz | 1 | #ifndef MYPLUGIN_H |
2 | #define MYPLUGIN_H |
||
3 | |||
4 | #include "scribus.h" |
||
5 | |||
6 | /** Calls the Plugin with the main Application window as parent |
||
7 | * and the main Application Class as parameter */ |
||
8 | extern "C" void Run(QWidget *d, ScribusApp *plug); |
||
9 | |||
10 | |||
11 | /** Returns the Name of the Plugin. |
||
12 | * This name appears in the relevant Menue-Entrys */ |
||
13 | extern "C" QString Name(); |
||
14 | |||
15 | |||
16 | /** Returns the Type of the Plugin. |
||
17 | * 1 = the Plugin is a normal Plugin, which appears in the Extras Menue |
||
18 | * 2 = the Plugin is a Import Plugin, which appears in the Import Menue |
||
19 | * 3 = the Plugin is a Export Plugin, which appears in the Export Menue |
||
20 | * 4 = the Plugin is a resident Plugin */ |
||
21 | extern "C" int Type(); |
||
22 | |||
23 | |||
24 | #endif |