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

Last change on this file since 11024 was 11024, checked in by nit, 12 years ago

fix

File size: 657 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//wird in der Pluginverwaltung bzw Menue ausfeguehrt
26void start(void)
27{
28        textbox(_("Message"), _("Hello World !"), _("EXIT"), getrcconfigint("rcexit", NULL), '\0', 0, '\0', 0, '\0', 0, 600, 200, 0, 0);
29}
Note: See TracBrowser for help on using the repository browser.