Last change
on this file since 15143 was
15143,
checked in by nit, 11 years ago
|
[titan] plugin optimize, plugin scriptexec, rcgui stanby fix, optimize transponder, optimize channel, optimize png render
|
File size:
756 bytes
|
Line | |
---|
1 | #include "../titan/struct.h" |
---|
2 | #include "../titan/debug.h" |
---|
3 | #include "../titan/header.h" |
---|
4 | #include "optimize.h" |
---|
5 | |
---|
6 | char pluginname[] = "Optimize"; |
---|
7 | char plugindesc[] = "Optimize"; |
---|
8 | char pluginpic[] = "%pluginpath%/optimize/plugin.png"; |
---|
9 | |
---|
10 | int pluginaktiv = 0; |
---|
11 | |
---|
12 | //wird beim laden ausgefuehrt |
---|
13 | void init(void) |
---|
14 | { |
---|
15 | char* tmpstr = NULL; |
---|
16 | |
---|
17 | tmpstr = ostrcat(getconfig("pluginpath", NULL), "/optimize/skin.xml", 0, 0); |
---|
18 | readscreen(tmpstr, 198, 1); |
---|
19 | free(tmpstr); tmpstr = NULL; |
---|
20 | |
---|
21 | pluginaktiv = 1; |
---|
22 | debug(10, "Optimize Plugin loadet !!!"); |
---|
23 | } |
---|
24 | |
---|
25 | //wird beim entladen ausgefuehrt |
---|
26 | void deinit(void) |
---|
27 | { |
---|
28 | delmarkedscreen(198); |
---|
29 | pluginaktiv = 0; |
---|
30 | debug(10, "Optimize Plugin removed !!!"); |
---|
31 | } |
---|
32 | |
---|
33 | //wird in der Pluginverwaltung bzw Menue ausfeguehrt |
---|
34 | void start(void) |
---|
35 | { |
---|
36 | screenoptimize(); |
---|
37 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.