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

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

[titan] add PLUGINVERSION Check

File size: 974 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#include "scriptexec.h"
12
13char pluginname[] = "Script execute";
14char plugindesc[] = "Script execute";
15char pluginpic[] = "%pluginpath%/scriptexec/plugin.png";
16
17int pluginaktiv = 0;
18int pluginversion = PLUGINVERSION;
19
20//wird beim laden ausgefuehrt
21void init(void)
22{
23        pluginaktiv = 1;
24        debug(10, "Script execute Plugin loadet !!!");
25}
26
27//wird beim entladen ausgefuehrt
28void deinit(void)
29{
30        pluginaktiv = 0;
31        debug(10, "Script execute Plugin removed !!!");
32}
33
34//wird in der Pluginverwaltung bzw Menue ausfeguehrt
35void start(void)
36{
37        screenscriptexec();
38}
Note: See TracBrowser for help on using the repository browser.