source: titan/plugins/wm2018/wm2018.c @ 42484

Last change on this file since 42484 was 42484, checked in by karlo, 22 months ago

new wm2018 plugin - thx mr_petz

File size: 837 bytes
Line 
1#include "../titan/struct.h"
2#include "../titan/debug.h"
3#include "../titan/header.h"
4#include "wm2018.h"
5
6char pluginname[] = "WM2018";
7char plugindesc[] = "WM2018";
8char pluginpic[] = "%pluginpath%/wm2018/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("/wm2018/skin.xml", 0);
19        readscreen(tmpstr, 208, 1);
20        free(tmpstr); tmpstr = NULL;
21
22        pluginaktiv = 1;
23        debug(10, "wm2018 Plugin loaded !!!");
24}
25
26//wird beim Entladen ausgefuehrt
27void deinit(void) {
28        delmarkedscreen(208);
29        pluginaktiv = 0;
30        debug(10, "wm2018 Plugin removed !!!");
31}
32
33//wird in der Pluginverwaltung bzw Menue ausgefuehrt
34void start(void) {
35        screenwm2018();
36}
Note: See TracBrowser for help on using the repository browser.