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