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

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

[titan] add PLUGINVERSION Check

File size: 1.0 KB
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
12char pluginname[] = "Hello";
13char plugindesc[] = "Hello World Demo";
14char pluginpic[] = "%pluginpath%/hello/plugin.png";
15
16int pluginaktiv = 0;
17int pluginversion = PLUGINVERSION;
18
19//wird beim laden ausgefuehrt
20void init(void)
21{
22        pluginaktiv = 1;
23        debug(10, "Hello Plugin loadet !!!");
24}
25
26//wird beim entladen ausgefuehrt
27void deinit(void)
28{
29        pluginaktiv = 0;
30        debug(10, "Hello Plugin removed !!!");
31}
32
33//wird in der Pluginverwaltung bzw Menue ausfeguehrt
34void start(void)
35{
36        textbox(_("Message"), _("Hello World !"), _("EXIT"), getrcconfigint("rcexit", NULL), '\0', 0, '\0', 0, '\0', 0, 600, 200, 0, 0);
37}
Note: See TracBrowser for help on using the repository browser.