source: titan/plugins/hbbtv/hbbtv.c @ 26912

Last change on this file since 26912 was 18491, checked in by obi, 11 years ago

fix last commit

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