source: titan/plugins/hbbtv_arm/hbbtv.c @ 39442

Last change on this file since 39442 was 18491, checked in by obi, 10 years ago

fix last commit

File size: 865 bytes
Line 
1#include "../titan/struct.h"
2#include "../titan/debug.h"
3#include "../titan/header.h"
4#include "hbbtv.h"
5
6char pluginname[] = "hbbtv Browser";
7char plugindesc[] = "hbbtv Browser";
8char pluginpic[] = "%pluginpath%/hbbtv/plugin.png";
9
10int pluginaktiv = 0;
11int pluginversion = PLUGINVERSION;
12
13//wird beim laden ausgefuehrt
14void init(void)
15{
16        pluginaktiv = 1;
17        debug(10, "hbbtv Plugin loadet !!!");
18}
19
20//wird beim entladen ausgefuehrt
21void deinit(void)
22{
23        pluginaktiv = 0;
24        debug(10, "hbbtv Plugin removed !!!");
25}
26
27//wird in der Pluginverwaltung bzw Menue ausfeguehrt
28void start(void)
29{
30        screenoperafav();
31}
32
33//start from infobar
34void 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.