source: titan/plugins/wm2014/wm2014.c @ 36503

Last change on this file since 36503 was 29338, checked in by tobayer, 10 years ago

[titan] add wm2014 plugin, step 2

File size: 801 bytes
Line 
1#include "../titan/struct.h"
2#include "../titan/debug.h"
3#include "../titan/header.h"
4#include "wm2014.h"
5
6char pluginname[] = "WM2014";
7char plugindesc[] = "WM2014";
8char pluginpic[] = "%pluginpath%/wm2014/plugin.png";
9
10int pluginaktiv = 0;
11//int pluginversion = PLUGINVERSION;
12int pluginversion = 999999; // = nopluginversion
13
14//wird beim Laden ausgefuehrt
15void init(void) {
16        char* tmpstr = NULL;
17
18        tmpstr = createpluginpath("/wm2014/skin.xml", 0);
19        readscreen(tmpstr, 208, 1);
20        free(tmpstr); tmpstr = NULL;
21
22        pluginaktiv = 1;
23        debug(10, "WM2014 Plugin loaded !!!");
24}
25
26//wird beim Entladen ausgefuehrt
27void deinit(void) {
28        delmarkedscreen(208);
29        pluginaktiv = 0;
30        debug(10, "WM2014 Plugin removed !!!");
31}
32
33//wird in der Pluginverwaltung bzw Menue ausgefuehrt
34void start(void) {
35        screenwm2014();
36}
Note: See TracBrowser for help on using the repository browser.