Line | |
---|
1 | #include "../titan/struct.h" |
---|
2 | #include "../titan/debug.h" |
---|
3 | #include "../titan/header.h" |
---|
4 | #include "wm2014.h" |
---|
5 | |
---|
6 | char pluginname[] = "WM2014"; |
---|
7 | char plugindesc[] = "WM2014"; |
---|
8 | char pluginpic[] = "%pluginpath%/wm2014/plugin.png"; |
---|
9 | |
---|
10 | int pluginaktiv = 0; |
---|
11 | //int pluginversion = PLUGINVERSION; |
---|
12 | int pluginversion = 999999; // = nopluginversion |
---|
13 | |
---|
14 | //wird beim Laden ausgefuehrt |
---|
15 | void init(void) { |
---|
16 | char* tmpstr = NULL; |
---|
17 | |
---|
18 | tmpstr = createpluginpath("/wm2014/skin.xml", 0); |
---|
19 | readscreen(tmpstr, 208, 1); |
---|
20 | free(tmpstr); tmpstr = NULL; |
---|
21 | |
---|
22 | pluginaktiv = 1; |
---|
23 | debug(10, "WM2014 Plugin loaded !!!"); |
---|
24 | } |
---|
25 | |
---|
26 | //wird beim Entladen ausgefuehrt |
---|
27 | void deinit(void) { |
---|
28 | delmarkedscreen(208); |
---|
29 | pluginaktiv = 0; |
---|
30 | debug(10, "WM2014 Plugin removed !!!"); |
---|
31 | } |
---|
32 | |
---|
33 | //wird in der Pluginverwaltung bzw Menue ausgefuehrt |
---|
34 | void start(void) { |
---|
35 | screenwm2014(); |
---|
36 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.