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

Last change on this file since 16898 was 16898, checked in by nit, 11 years ago

[titan] update tmc add new plugin filemamnager

  • Property svn:executable set to *
File size: 840 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;
15
16//wird beim laden ausgefuehrt
17void init(void)
18{
19        pluginaktiv = 1;
20        char* tmpstr = NULL;
21        tmpstr = ostrcat(getconfig("pluginpath", NULL), "/instar/skin.xml", 0, 0);
22        readscreen(tmpstr, 118, 1);
23
24        debug(10, "INSTAR Plugin loadet !!!");
25}
26
27//wird beim entladen ausgefuehrt
28void deinit(void)
29{
30        pluginaktiv = 0;
31        debug(10, "INSTAR removed !!!");
32        delmarkedscreen(118);
33}
34
35//wird in der Pluginverwaltung bzw Menue ausfeguehrt
36void start(void)
37{
38        instar_main();
39}
Note: See TracBrowser for help on using the repository browser.