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

Last change on this file since 34180 was 34180, checked in by gost, 8 years ago

test svn

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
20//wird beim laden ausgefuehrt
21void init(void)
22{
23        pluginaktiv = 1;
24        debug(10, "Hello Plugin loadet !!!");
25}
26
27//wird beim entladen ausgefuehrt
28void deinit(void)
29{
30        pluginaktiv = 0;
31        debug(10, "Hello Plugin removed !!!");
32}
33
34//wird in der Pluginverwaltung bzw Menue ausfeguehrt
35void start(void)
36{
37        textbox(_("Message"), _("Hello World !"), _("EXIT"), getrcconfigint("rcexit", NULL), '\0', 0, '\0', 0, '\0', 0, 600, 200, 0, 0);
38}
Note: See TracBrowser for help on using the repository browser.