Line | |
---|
1 | /*****************************************************/ |
---|
2 | /* this file is part of the tiTan / tiTanNIT Project */ |
---|
3 | /* and allowed only for use with this. */ |
---|
4 | /* */ |
---|
5 | /* copyright by NIT */ |
---|
6 | /*****************************************************/ |
---|
7 | |
---|
8 | #include "../titan/struct.h" |
---|
9 | #include "../titan/debug.h" |
---|
10 | #include "../titan/header.h" |
---|
11 | |
---|
12 | char pluginname[] = "Hello"; |
---|
13 | char plugindesc[] = "Hello World Demo"; |
---|
14 | char pluginpic[] = "%pluginpath%/hello/plugin.png"; |
---|
15 | |
---|
16 | int pluginaktiv = 0; |
---|
17 | |
---|
18 | //wird beim laden ausgefuehrt |
---|
19 | void init(void) |
---|
20 | { |
---|
21 | pluginaktiv = 1; |
---|
22 | debug(10, "Hello Plugin loadet !!!"); |
---|
23 | } |
---|
24 | |
---|
25 | //wird beim entladen ausgefuehrt |
---|
26 | void deinit(void) |
---|
27 | { |
---|
28 | pluginaktiv = 0; |
---|
29 | debug(10, "Hello Plugin removed !!!"); |
---|
30 | } |
---|
31 | |
---|
32 | //wird in der Pluginverwaltung bzw Menue ausfeguehrt |
---|
33 | void start(void) |
---|
34 | { |
---|
35 | textbox(_("Message"), _("Hello World !"), _("EXIT"), getrcconfigint("rcexit", NULL), '\0', 0, '\0', 0, '\0', 0, 600, 200, 0, 0); |
---|
36 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.