Line | |
---|
1 | #include "../titan/struct.h" |
---|
2 | #include "../titan/debug.h" |
---|
3 | #include "../titan/header.h" |
---|
4 | #include "hbbtv.h" |
---|
5 | |
---|
6 | char pluginname[] = "hbbtv Browser"; |
---|
7 | char plugindesc[] = "hbbtv Browser"; |
---|
8 | char pluginpic[] = "%pluginpath%/hbbtv/plugin.png"; |
---|
9 | |
---|
10 | int pluginaktiv = 0; |
---|
11 | int pluginversion = PLUGINVERSION; |
---|
12 | |
---|
13 | //wird beim laden ausgefuehrt |
---|
14 | void init(void) |
---|
15 | { |
---|
16 | pluginaktiv = 1; |
---|
17 | debug(10, "hbbtv Plugin loadet !!!"); |
---|
18 | } |
---|
19 | |
---|
20 | //wird beim entladen ausgefuehrt |
---|
21 | void deinit(void) |
---|
22 | { |
---|
23 | pluginaktiv = 0; |
---|
24 | debug(10, "hbbtv Plugin removed !!!"); |
---|
25 | } |
---|
26 | |
---|
27 | //wird in der Pluginverwaltung bzw Menue ausfeguehrt |
---|
28 | void start(void) |
---|
29 | { |
---|
30 | screenoperafav(); |
---|
31 | } |
---|
32 | |
---|
33 | //start from infobar |
---|
34 | void starturl(void) |
---|
35 | { |
---|
36 | if(status.aktservice->channel != NULL && status.aktservice->channel->hbbtvurl != NULL) |
---|
37 | { |
---|
38 | debug(788, "hbbtvurl=%s", status.aktservice->channel->hbbtvurl); |
---|
39 | screenopera(status.aktservice->channel->hbbtvurl); |
---|
40 | } |
---|
41 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.