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

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

[titan] update tmc add new plugin filemamnager

File size: 787 bytes
Line 
1#include "../titan/struct.h"
2#include "../titan/debug.h"
3#include "../titan/header.h"
4#include "stock.h"
5
6char pluginname[] = "Stock";
7char plugindesc[] = "Stock";
8char pluginpic[] = "%pluginpath%/stock/plugin.png";
9
10int pluginaktiv = 0;
11struct skin* pluginmenu = NULL;
12int pluginflag = 0;
13
14//wird beim laden ausgefuehrt
15void init(void)
16{
17        pluginaktiv = 1;
18        char* tmpstr = NULL;
19       
20        tmpstr = ostrcat(getconfig("pluginpath", NULL), "/stock/skin.xml", 0, 0);
21        readscreen(tmpstr, 220, 1);
22        free(tmpstr); tmpstr = NULL;
23 
24        debug(10, "Stock Plugin loadet !!!");
25}
26
27//wird beim entladen ausgefuehrt
28void deinit(void)
29{
30        delmarkedscreen(220);
31        pluginaktiv = 0;
32        debug(10, "Stock Plugin removed !!!");
33}
34
35//wird in der Pluginverwaltung bzw Menue ausfeguehrt
36void start(void)
37{
38        screenstock();
39}
Note: See TracBrowser for help on using the repository browser.