source: titan/plugins/hello/hello.c @ 10966

Last change on this file since 10966 was 10966, checked in by obi, 12 years ago

[titan] update include paths

File size: 658 bytes
Line 
1#include "../titan/struct.h"
2#include "../titan/debug.h"
3#include "../titan/header.h"
4
5char pluginname[] = "Hello";
6char plugindesc[] = "Hello World Demo";
7char pluginpic[] = "%pluginpath%/hello/plugin.png";
8
9int pluginaktiv = 0;
10
11//wird beim laden ausgefuehrt
12void init(void)
13{
14        pluginaktiv = 1;
15        debug(10, "Hello Plugin loadet !!!");
16}
17
18//wird beim entladen ausgefuehrt
19void deinit(void)
20{
21        pluginaktiv = 0;
22        debug(10, "Hello Plugin removed !!!");
23}
24
25
26//wird in der Pluginverwaltung bzw Menue ausfeguehrt
27void start(void)
28{
29        textbox(_("Message"), _("Hello World !"), _("EXIT"), getrcconfigint("rcexit", NULL), '\0', 0, '\0', 0, '\0', 0, 600, 200, 0, 0);
30}
Note: See TracBrowser for help on using the repository browser.