Changeset 17097
- Timestamp:
- 07/11/12 02:22:18 (11 years ago)
- Location:
- titan
- Files:
-
- 35 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/TopfieldVFD/TopfieldVFD.c
r12509 r17097 11 11 12 12 int pluginaktiv = 0; 13 int pluginversion = PLUGINVERSION; 13 14 14 15 #include "../titan/struct.h" -
titan/plugins/browser/browser.c
r15334 r17097 9 9 10 10 int pluginaktiv = 0; 11 int pluginversion = PLUGINVERSION; 11 12 12 13 //wird beim laden ausgefuehrt -
titan/plugins/callmonitor1/callmonitor1.c
r16898 r17097 12 12 13 13 int pluginaktiv = 0; 14 int pluginversion = PLUGINVERSION; 14 15 15 16 //wird beim laden ausgefuehrt -
titan/plugins/catcatch/catcatch.c
r16964 r17097 16 16 17 17 int pluginaktiv = 0; 18 int pluginversion = PLUGINVERSION; 18 19 19 20 //wird beim laden ausgefuehrt -
titan/plugins/dlna/dlna.c
r15353 r17097 9 9 10 10 int pluginaktiv = 0; 11 int pluginversion = PLUGINVERSION; 11 12 12 13 //wird beim laden ausgefuehrt -
titan/plugins/dvdplayer/dvdplay.c
r16937 r17097 9 9 10 10 int pluginaktiv = 0; 11 int pluginversion = PLUGINVERSION; 11 12 12 13 //wird beim laden ausgefuehrt -
titan/plugins/filemanager/filemanager.c
r16909 r17097 9 9 10 10 int pluginaktiv = 0; 11 int pluginversion = PLUGINVERSION; 11 12 struct skin* pluginmenu = NULL; 12 13 int pluginflag = 0; -
titan/plugins/gmediarender/gmediarender.c
r16263 r17097 9 9 10 10 int pluginaktiv = 0; 11 int pluginversion = PLUGINVERSION; 11 12 12 13 //wird beim laden ausgefuehrt -
titan/plugins/hbbtv/hbbtv.c
r16143 r17097 9 9 10 10 int pluginaktiv = 0; 11 int pluginversion = PLUGINVERSION; 11 12 12 13 //wird beim laden ausgefuehrt -
titan/plugins/hello/hello.c
r15388 r17097 15 15 16 16 int pluginaktiv = 0; 17 int pluginversion = PLUGINVERSION; 17 18 18 19 //wird beim laden ausgefuehrt -
titan/plugins/imdb/imdb.c
r16428 r17097 9 9 10 10 int pluginaktiv = 0; 11 int pluginversion = PLUGINVERSION; 11 12 struct skin* pluginmenu = NULL; 12 13 int pluginflag = 0; //don't show the plugin in pluginmanager -
titan/plugins/imdbapi/imdbapi.c
r16428 r17097 9 9 10 10 int pluginaktiv = 0; 11 int pluginversion = PLUGINVERSION; 11 12 struct skin* pluginmenu = NULL; 12 13 int pluginflag = 0; //don't show the plugin in pluginmanager -
titan/plugins/instar/instar.c
r16898 r17097 13 13 14 14 int pluginaktiv = 0; 15 int pluginversion = PLUGINVERSION; 15 16 16 17 //wird beim laden ausgefuehrt -
titan/plugins/keylock/keylock.c
r16898 r17097 8 8 9 9 int pluginaktiv = 0; 10 int pluginversion = PLUGINVERSION; 10 11 //struct skin* pluginmenu = NULL; 11 12 //int pluginflag = 1; //don't show the plugin in pluginmanager -
titan/plugins/lcdpearl1/lcdpearl1.c
r16512 r17097 10 10 11 11 int pluginaktiv = 0; 12 int pluginversion = PLUGINVERSION; 12 13 //struct skin* pluginmenu = NULL; 13 14 //int pluginflag = 1; //don't show the plugin in pluginmanager -
titan/plugins/lcdsamsung/lcdsamsung.c
r16966 r17097 10 10 11 11 int pluginaktiv = 0; 12 12 int pluginversion = PLUGINVERSION; 13 13 14 14 struct stimerthread* LCD_Samsung1thread = NULL; -
titan/plugins/mboxinfo/mboxinfo.c
r16898 r17097 8 8 9 9 int pluginaktiv = 0; 10 int pluginversion = PLUGINVERSION; 10 11 11 12 //wird beim laden ausgefuehrt -
titan/plugins/mc/mc.c
r16898 r17097 35 35 36 36 int pluginaktiv = 0; 37 int pluginversion = PLUGINVERSION; 37 38 struct skin* pluginmenu = NULL; 38 39 int pluginflag = 1; //don't show the plugin in pluginmanager -
titan/plugins/networkbrowser/networkbrowser.c
r16898 r17097 12 12 13 13 int pluginaktiv = 0; 14 int pluginversion = PLUGINVERSION; 14 15 struct skin* pluginmenu = NULL; 15 16 int pluginflag = 1; //don't show the plugin in pluginmanager -
titan/plugins/news/news.c
r15414 r17097 9 9 10 10 int pluginaktiv = 0; 11 int pluginversion = PLUGINVERSION; 11 12 12 13 //wird beim laden ausgefuehrt -
titan/plugins/optimize/optimize.c
r15143 r17097 9 9 10 10 int pluginaktiv = 0; 11 int pluginversion = PLUGINVERSION; 11 12 12 13 //wird beim laden ausgefuehrt -
titan/plugins/panel/panel.c
r16898 r17097 18 18 19 19 int pluginaktiv = 0; 20 int pluginversion = PLUGINVERSION; 20 21 //struct skin* pluginmenu = NULL; 21 22 //int pluginflag = 1; //don't show the plugin in pluginmanager -
titan/plugins/permtime/permtime.c
r16898 r17097 8 8 9 9 int pluginaktiv = 0; 10 int pluginversion = PLUGINVERSION; 10 11 //struct skin* pluginmenu = NULL; 11 12 //int pluginflag = 1; //don't show the plugin in pluginmanager -
titan/plugins/rgui/rgui.c
r16075 r17097 16 16 17 17 int pluginaktiv = 0; 18 int pluginversion = PLUGINVERSION; 18 19 19 20 //wird beim laden ausgefuehrt -
titan/plugins/scriptexec/scriptexec.c
r15388 r17097 16 16 17 17 int pluginaktiv = 0; 18 int pluginversion = PLUGINVERSION; 18 19 19 20 //wird beim laden ausgefuehrt -
titan/plugins/stock/stock.c
r16898 r17097 9 9 10 10 int pluginaktiv = 0; 11 int pluginversion = PLUGINVERSION; 11 12 struct skin* pluginmenu = NULL; 12 13 int pluginflag = 0; -
titan/plugins/stopifnotused/stopifnotused.c
r16898 r17097 9 9 10 10 int pluginaktiv = 0; 11 int pluginversion = PLUGINVERSION; 11 12 12 13 struct stimerthread* StopIfNotUsed = NULL; -
titan/plugins/streaminfo/streaminfo.c
r16898 r17097 9 9 10 10 int pluginaktiv = 0; 11 int pluginversion = PLUGINVERSION; 11 12 struct skin* pluginmenu = NULL; 12 13 int pluginflag = 0; -
titan/plugins/tithek/tithek.c
r14544 r17097 10 10 11 11 int pluginaktiv = 0; 12 int pluginversion = PLUGINVERSION; 12 13 13 14 //wird beim laden ausgefuehrt -
titan/plugins/tmc/tmc.c
r16898 r17097 9 9 10 10 int pluginaktiv = 0; 11 int pluginversion = PLUGINVERSION; 11 12 //struct skin* pluginmenu = NULL; 12 13 //int pluginflag = 0; -
titan/plugins/tmdb/tmdb.c
r16898 r17097 9 9 10 10 int pluginaktiv = 0; 11 int pluginversion = PLUGINVERSION; 11 12 struct skin* pluginmenu = NULL; 12 13 int pluginflag = 0; //don't show the plugin in pluginmanager -
titan/plugins/weather/weather.c
r15359 r17097 9 9 10 10 int pluginaktiv = 0; 11 int pluginversion = PLUGINVERSION; 11 12 12 13 //wird beim laden ausgefuehrt -
titan/plugins/wins3/wins3.c
r15387 r17097 16 16 17 17 int pluginaktiv = 0; 18 int pluginversion = PLUGINVERSION; 18 19 19 20 //wird beim laden ausgefuehrt -
titan/titan/plugin.h
r16921 r17097 118 118 int *pluginflag = NULL; 119 119 int *pluginaktiv = NULL; 120 int *pluginversion = NULL; 120 121 void (*initplugin)(void); 121 122 … … 142 143 dlerror(); 143 144 145 //check plugin version 146 pluginversion = dlsym(pluginhandle, "pluginversion"); 147 if(pluginversion == NULL || *pluginversion != PLUGINVERSION) 148 { 149 if(pluginversion == NULL) 150 { 151 err("pluginversion not ok titan=%d plugin=NULL (%s)", PLUGINVERSION, pluginpath); 152 } 153 else 154 { 155 err("pluginversion not ok titan=%d plugin=%d (%s)", PLUGINVERSION, *pluginversion, pluginpath); 156 } 157 dlclose(pluginhandle); 158 free(pluginpath); pluginpath = NULL; 159 free(filelist[count]); 160 continue; 161 } 162 144 163 pluginname = dlsym(pluginhandle, "pluginname"); 145 164 if(pluginname == NULL) 146 165 { 147 166 err("not a plugin -> pluginname not found: %s", pluginpath); 167 dlclose(pluginhandle); 148 168 free(pluginpath); pluginpath = NULL; 149 169 free(filelist[count]); -
titan/titan/struct.h
r17007 r17097 93 93 #define COPYRIGHT "NIT" 94 94 #define CRONTRIBUT "obi, black, dvboxer, oxygen, gost" 95 #define PLUGINVERSION 0 95 96 96 97 #define _(x) gettext(x)
Note: See TracChangeset
for help on using the changeset viewer.