source: titan/plugins/instar/instar.c @ 18514

Last change on this file since 18514 was 17097, checked in by nit, 12 years ago

[titan] add PLUGINVERSION Check

  • Property svn:executable set to *
File size: 875 bytes
Line 
1#include "../../titan/struct.h"
2#include "../../titan/debug.h"
3#include "../../titan/header.h"
4#include "../../titan/list.h"
5
6#include "instar.h"
7
8
9char pluginname[] = "IP-Kammera";
10char plugindesc[] = "IP-Kammera zB. Firma INSTAR";
11char pluginpic[] = "%pluginpath%/instar/instar.png";
12//char pluginscript[] = "%pluginpath%/callmonitor1/fritzbox_msg_new.sh";
13
14int pluginaktiv = 0;
15int pluginversion = PLUGINVERSION;
16
17//wird beim laden ausgefuehrt
18void init(void)
19{
20        pluginaktiv = 1;
21        char* tmpstr = NULL;
22        tmpstr = ostrcat(getconfig("pluginpath", NULL), "/instar/skin.xml", 0, 0);
23        readscreen(tmpstr, 118, 1);
24
25        debug(10, "INSTAR Plugin loadet !!!");
26}
27
28//wird beim entladen ausgefuehrt
29void deinit(void)
30{
31        pluginaktiv = 0;
32        debug(10, "INSTAR removed !!!");
33        delmarkedscreen(118);
34}
35
36//wird in der Pluginverwaltung bzw Menue ausfeguehrt
37void start(void)
38{
39        instar_main();
40}
Note: See TracBrowser for help on using the repository browser.