source: titan/plugins/tithek/tithek.c @ 13931

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

[titan] first step tithek

File size: 816 bytes
Line 
1#include "../titan/struct.h"
2#include "../titan/debug.h"
3#include "../titan/header.h"
4#include "tithek.h"
5
6char pluginname[] = "TiTan Mediathek";
7char plugindesc[] = "TiTan Mediathek";
8char pluginpic[] = "%pluginpath%/tithek/plugin.png";
9
10int pluginaktiv = 0;
11
12//wird beim laden ausgefuehrt
13void init(void)
14{
15        char* tmpstr = NULL;
16
17        tmpstr = ostrcat(getconfig("pluginpath", NULL), "/tithek/skin.xml", 0, 0);
18        readscreen(tmpstr, 195, 1);
19        free(tmpstr); tmpstr = NULL;
20
21        pluginaktiv = 1;
22        debug(10, "TiThek Info Plugin loadet !!!");
23}
24
25//wird beim entladen ausgefuehrt
26void deinit(void)
27{
28        delmarkedscreen(195);
29        pluginaktiv = 0;
30        debug(10, "TiThek Plugin removed !!!");
31}
32
33//wird in der Pluginverwaltung bzw Menue ausfeguehrt
34void start(void)
35{
36        screentithekmenu("http://atemio.dyndns.tv/mediathek/mainmenu.list");
37}
Note: See TracBrowser for help on using the repository browser.