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

Last change on this file since 15388 was 15388, checked in by nit, 11 years ago

[titan] update copyright

File size: 994 bytes
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;
17
18//wird beim laden ausgefuehrt
19void init(void)
20{
21        pluginaktiv = 1;
22        debug(10, "Hello Plugin loadet !!!");
23}
24
25//wird beim entladen ausgefuehrt
26void deinit(void)
27{
28        pluginaktiv = 0;
29        debug(10, "Hello Plugin removed !!!");
30}
31
32//wird in der Pluginverwaltung bzw Menue ausfeguehrt
33void 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.