Changeset 24056
- Timestamp:
- 10/04/13 14:20:24 (9 years ago)
- Location:
- titan/plugins
- Files:
-
- 33 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/autotimer/autotimer.c
r23790 r24056 375 375 char* tmpstr = NULL; 376 376 pluginaktiv = 1; 377 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/autotimer/skin.xml", 0, 0);377 tmpstr = createpluginpath("/autotimer/skin.xml", 0); 378 378 readscreen(tmpstr, 120, 1); 379 379 free(tmpstr); tmpstr = NULL; -
titan/plugins/callmonitor1/callmon_main.h
r23633 r24056 9 9 char* tmpstr = NULL; 10 10 11 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/callmonitor1/fritzbox_msg_new.sh stop", 0, 0); 11 tmpstr = createpluginpath("/callmonitor1/fritzbox_msg_new.sh", 0); 12 tmpstr = ostrcat(tmpstr, " stop", 1, 0); 12 13 system(tmpstr); 13 14 free(tmpstr); tmpstr = NULL; … … 18 19 sleep(1); 19 20 20 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/callmonitor1/fritzbox_msg_new.sh start", 0, 0); 21 tmpstr = createpluginpath("/callmonitor1/fritzbox_msg_new.sh", 0); 22 tmpstr = ostrcat(tmpstr, " start", 1, 0); 21 23 system(tmpstr); 22 24 free(tmpstr); tmpstr = NULL; … … 46 48 struct clist *myconfig[LISTHASHSIZE] = {NULL}; 47 49 char* callconf = NULL; 48 callconf = ostrcat(getconfig("pluginpath", NULL), "/callmonitor1/callmon.conf", 0, 0);50 callconf = createpluginpath("/callmonitor1/callmon.conf", 0); 49 51 readconfig(callconf, myconfig); 50 52 … … 173 175 if(hgreen == 1 || hblue == 1) 174 176 { 175 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/callmonitor1/fritzbox_msg_new.sh stop", 0, 0); 177 tmpstr = createpluginpath("/callmonitor1/fritzbox_msg_new.sh", 0); 178 tmpstr = ostrcat(tmpstr, " stop", 1, 0); 176 179 system(tmpstr); 177 180 free(tmpstr); tmpstr = NULL; … … 200 203 if(hblue == 1 && ostrcmp(getlist(myconfig, "usePhoneBook", NULL), "1") == 0) 201 204 { 202 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/callmonitor1/fritzbox_msg_new.sh loadPhoneBook", 0, 0); 205 tmpstr = createpluginpath("/callmonitor1/fritzbox_msg_new.sh", 0); 206 tmpstr = ostrcat(tmpstr, " loadPhoneBook", 1, 0); 203 207 system(tmpstr); 204 208 free(tmpstr); tmpstr = NULL; -
titan/plugins/callmonitor1/callmonitor1.c
r17097 r24056 21 21 coldstart = 1; 22 22 23 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/callmonitor1/skin.xml", 0, 0);23 tmpstr = createpluginpath("/callmonitor1/skin.xml", 0); 24 24 readscreen(tmpstr, 121, 1); 25 25 free(tmpstr); tmpstr = NULL; … … 36 36 char* tmpstr = NULL; 37 37 38 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/callmonitor1/fritzbox_msg_new.sh stop", 0, 0); 38 tmpstr = createpluginpath("/callmonitor1/fritzbox_msg_new.sh", 0); 39 tmpstr = ostrcat(tmpstr, " stop", 1, 0); 39 40 system(tmpstr); 40 41 pluginaktiv = 0; -
titan/plugins/dlna/dlna.c
r17097 r24056 16 16 char* tmpstr = NULL; 17 17 18 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/dlna/skin.xml", 0, 0);18 tmpstr = createpluginpath("/dlna/skin.xml", 0); 19 19 readscreen(tmpstr, 207, 1); 20 20 free(tmpstr); tmpstr = NULL; -
titan/plugins/facebook/facebook.c
r17407 r24056 17 17 char* tmpstr = NULL; 18 18 19 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/facebook/skin.xml", 0, 0);19 tmpstr = createpluginpath("/facebook/skin.xml", 0); 20 20 readscreen(tmpstr, 242, 1); 21 21 free(tmpstr); tmpstr = NULL; -
titan/plugins/filemanager/filemanager.c
r22562 r24056 19 19 char* tmpstr = NULL; 20 20 21 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/filemanager/skin.xml", 0, 0);21 tmpstr = createpluginpath("/filemanager/skin.xml", 0); 22 22 readscreen(tmpstr, 240, 1); 23 23 free(tmpstr); tmpstr = NULL; -
titan/plugins/gmediarender/gmediarender.c
r18894 r24056 16 16 char* tmpstr = NULL; 17 17 18 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/gmediarender/skin.xml", 0, 0);18 tmpstr = createpluginpath("/gmediarender/skin.xml", 0); 19 19 readscreen(tmpstr, 279, 1); 20 20 free(tmpstr); tmpstr = NULL; -
titan/plugins/imdb/imdb.c
r23090 r24056 30 30 31 31 pluginmenu = child; 32 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/imdb/skin.xml", 0, 0);32 tmpstr = createpluginpath("/imdb/skin.xml", 0); 33 33 readscreen(tmpstr, 201, 1); 34 34 free(tmpstr); tmpstr = NULL; -
titan/plugins/imdbapi/imdbapi.c
r23090 r24056 30 30 31 31 pluginmenu = child; 32 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/imdbapi/skin.xml", 0, 0);32 tmpstr = createpluginpath("/imdbapi/skin.xml", 0); 33 33 readscreen(tmpstr, 201, 1); 34 34 free(tmpstr); tmpstr = NULL; -
titan/plugins/instar/instar.c
r17097 r24056 18 18 void init(void) 19 19 { 20 char* tmpstr = NULL; 20 21 pluginaktiv = 1; 21 char* tmpstr = NULL;22 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/instar/skin.xml", 0, 0);22 23 tmpstr = createpluginpath("/instar/skin.xml", 0); 23 24 readscreen(tmpstr, 118, 1); 25 free(tmpstr); tmpstr = NULL; 24 26 25 27 debug(10, "INSTAR Plugin loadet !!!"); -
titan/plugins/instar/instar.h
r18514 r24056 261 261 int rcode = 0; 262 262 263 instarconf = ostrcat(getconfig("pluginpath", NULL), "/instar/instar.conf", 0, 0);263 instarconf = createpluginpath("/instar/instar.conf", 0); 264 264 readconfig(instarconf, myconfig); 265 265 -
titan/plugins/keylock/keylock.c
r17097 r24056 51 51 pluginaktiv = 1; 52 52 53 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/keylock/skin.xml", 0, 0);53 tmpstr = createpluginpath("/keylock/skin.xml", 0); 54 54 readscreen(tmpstr, 117, 1); 55 55 free(tmpstr); tmpstr = NULL; -
titan/plugins/lcdpearl1/lcdpearl1.c
r21594 r24056 32 32 { 33 33 int count = 0; 34 char* startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdpearl1/start.sh", 0, 0);34 char* startlcd = createpluginpath("/lcdpearl1/start.sh", 0); 35 35 36 36 if(LCD_Pearl1thread == NULL) … … 47 47 } 48 48 } 49 free(startlcd); startlcd=NULL;49 free(startlcd); startlcd=NULL; 50 50 } 51 51 … … 112 112 int put = 0, typemerk = 0, type = 0; 113 113 int standby = 0; 114 char* fbgrab = ostrcat(getconfig("pluginpath", NULL), "/lcdpearl1/fbgrab -f /tmp/titanlcd.raw -w 320 -h 240 -b 32 -i /tmp/.titanlcd1.png > /dev/null", 0, 0); 115 char* startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdpearl1/start.sh", 0, 0); 114 115 char* fbgrab = createpluginpath("/lcdpearl1/fbgrab", 0); 116 fbgrab = ostrcat(fbgrab, " -f /tmp/titanlcd.raw -w 320 -h 240 -b 32 -i /tmp/.titanlcd1.png > /dev/null", 1, 0); 117 118 char* startlcd = createpluginpath("/lcdpearl1/start.sh", 0); 116 119 117 120 unsigned long long int pos = 0, len = 0, reverse = 0; … … 399 402 { 400 403 char* tmpstr = NULL; 401 tmpstr = ostrcat("cp ", getconfig("pluginpath", NULL), 0, 0); 402 tmpstr = ostrcat(tmpstr, "/lcdpearl1/start.png", 1, 0); 404 405 tmpstr = createpluginpath("/lcdpearl1/start.png", 0); 406 tmpstr = ostrcat("cp ", tmpstr, 0, 1); 403 407 tmpstr = ostrcat(tmpstr, " /tmp/titanlcd.png", 1, 0); 408 404 409 system(tmpstr); 405 410 free(tmpstr); tmpstr=NULL; … … 429 434 firststart = 1; 430 435 431 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/lcdpearl1/skin.xml", 0, 0);436 tmpstr = createpluginpath("/lcdpearl1/skin.xml", 0); 432 437 readscreen(tmpstr, 116, 1); 433 438 free(tmpstr); tmpstr = NULL; -
titan/plugins/lcdsamsung/lcdsamsung.c
r21594 r24056 34 34 35 35 if(ostrcmp(getconfig("lcd_samsung_plugin_type", NULL), "spf75h") == 0) 36 startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdsamsung/start.sh 1", 0, 0); 36 { 37 startlcd = createpluginpath("/lcdsamsung/start.sh", 0); 38 startlcd = ostrcat(startlcd, " 1", 1, 0); 39 } 37 40 else if(ostrcmp(getconfig("lcd_samsung_plugin_type", NULL), "spf83h") == 0) 38 startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdsamsung/start.sh 6", 0, 0); 41 { 42 startlcd = createpluginpath("/lcdsamsung/start.sh", 0); 43 startlcd = ostrcat(startlcd, " 6", 1, 0); 44 } 39 45 else if(ostrcmp(getconfig("lcd_samsung_plugin_type", NULL), "spf87hold") == 0) 40 startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdsamsung/start.sh 3", 0, 0); 46 { 47 startlcd = createpluginpath("/lcdsamsung/start.sh", 0); 48 startlcd = ostrcat(startlcd, " 3", 1, 0); 49 } 41 50 else if(ostrcmp(getconfig("lcd_samsung_plugin_type", NULL), "spf87h") == 0) 42 startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdsamsung/start.sh 2", 0, 0); 51 { 52 startlcd = createpluginpath("/lcdsamsung/start.sh", 0); 53 startlcd = ostrcat(startlcd, " 2", 1, 0); 54 } 43 55 else if(ostrcmp(getconfig("lcd_samsung_plugin_type", NULL), "spf105p") == 0) 44 startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdsamsung/start.sh 5", 0, 0); 56 { 57 startlcd = createpluginpath("/lcdsamsung/start.sh", 0); 58 startlcd = ostrcat(startlcd, " 5", 1, 0); 59 } 45 60 else if(ostrcmp(getconfig("lcd_samsung_plugin_type", NULL), "spf107h") == 0) 46 startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdsamsung/start.sh 4", 0, 0); 61 { 62 startlcd = createpluginpath("/lcdsamsung/start.sh", 0); 63 startlcd = ostrcat(startlcd, " 4", 1, 0); 64 } 47 65 else if(ostrcmp(getconfig("lcd_samsung_plugin_type", NULL), "spf72h") == 0) 48 startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdsamsung/start.sh 7", 0, 0); 66 { 67 startlcd = createpluginpath("/lcdsamsung/start.sh", 0); 68 startlcd = ostrcat(startlcd, " 7", 1, 0); 69 } 49 70 else if(ostrcmp(getconfig("lcd_samsung_plugin_type", NULL), "spf85h") == 0) 50 startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdsamsung/start.sh 8", 0, 0); 71 { 72 startlcd = createpluginpath("/lcdsamsung/start.sh", 0); 73 startlcd = ostrcat(startlcd, " 8", 1, 0); 74 } 51 75 else if(ostrcmp(getconfig("lcd_samsung_plugin_type", NULL), "spf85p") == 0) 52 startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdsamsung/start.sh 9", 0, 0); 76 { 77 startlcd = createpluginpath("/lcdsamsung/start.sh", 0); 78 startlcd = ostrcat(startlcd, " 9", 1, 0); 79 } 53 80 else if(ostrcmp(getconfig("lcd_samsung_plugin_type", NULL), "none") == 0) 54 startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdsamsung/start.sh 99", 0, 0); 81 { 82 startlcd = createpluginpath("/lcdsamsung/start.sh", 0); 83 startlcd = ostrcat(startlcd, " 99", 1, 0); 84 } 55 85 else 56 startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdsamsung/start.sh 2", 0, 0); 86 { 87 startlcd = createpluginpath("/lcdsamsung/start.sh", 0); 88 startlcd = ostrcat(startlcd, " 2", 1, 0); 89 } 57 90 58 91 … … 255 288 256 289 if(ostrcmp(getconfig("lcd_samsung_plugin_type", NULL), "spf75h") == 0) 257 startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdsamsung/start.sh 1", 0, 0); 290 { 291 startlcd = createpluginpath("/lcdsamsung/start.sh", 0); 292 startlcd = ostrcat(startlcd, " 1", 1, 0); 293 } 258 294 else if(ostrcmp(getconfig("lcd_samsung_plugin_type", NULL), "spf83h") == 0) 259 startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdsamsung/start.sh 6", 0, 0); 295 { 296 startlcd = createpluginpath("/lcdsamsung/start.sh", 0); 297 startlcd = ostrcat(startlcd, " 6", 1, 0); 298 } 260 299 else if(ostrcmp(getconfig("lcd_samsung_plugin_type", NULL), "spf87hold") == 0) 261 startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdsamsung/start.sh 3", 0, 0); 300 { 301 startlcd = createpluginpath("/lcdsamsung/start.sh", 0); 302 startlcd = ostrcat(startlcd, " 3", 1, 0); 303 } 262 304 else if(ostrcmp(getconfig("lcd_samsung_plugin_type", NULL), "spf87h") == 0) 263 startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdsamsung/start.sh 2", 0, 0); 305 { 306 startlcd = createpluginpath("/lcdsamsung/start.sh", 0); 307 startlcd = ostrcat(startlcd, " 2", 1, 0); 308 } 264 309 else if(ostrcmp(getconfig("lcd_samsung_plugin_type", NULL), "spf105p") == 0) 265 startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdsamsung/start.sh 5", 0, 0); 310 { 311 startlcd = createpluginpath("/lcdsamsung/start.sh", 0); 312 startlcd = ostrcat(startlcd, " 5", 1, 0); 313 } 266 314 else if(ostrcmp(getconfig("lcd_samsung_plugin_type", NULL), "spf107h") == 0) 267 startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdsamsung/start.sh 4", 0, 0); 315 { 316 startlcd = createpluginpath("/lcdsamsung/start.sh", 0); 317 startlcd = ostrcat(startlcd, " 4", 1, 0); 318 } 268 319 else if(ostrcmp(getconfig("lcd_samsung_plugin_type", NULL), "spf72h") == 0) 269 startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdsamsung/start.sh 7", 0, 0); 320 { 321 startlcd = createpluginpath("/lcdsamsung/start.sh", 0); 322 startlcd = ostrcat(startlcd, " 7", 1, 0); 323 } 270 324 else if(ostrcmp(getconfig("lcd_samsung_plugin_type", NULL), "spf85h") == 0) 271 startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdsamsung/start.sh 8", 0, 0); 325 { 326 startlcd = createpluginpath("/lcdsamsung/start.sh", 0); 327 startlcd = ostrcat(startlcd, " 8", 1, 0); 328 } 272 329 else if(ostrcmp(getconfig("lcd_samsung_plugin_type", NULL), "spf85p") == 0) 273 startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdsamsung/start.sh 9", 0, 0); 330 { 331 startlcd = createpluginpath("/lcdsamsung/start.sh", 0); 332 startlcd = ostrcat(startlcd, " 9", 1, 0); 333 } 274 334 else if(ostrcmp(getconfig("lcd_samsung_plugin_type", NULL), "none") == 0) 275 startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdsamsung/start.sh 99", 0, 0); 335 { 336 startlcd = createpluginpath("/lcdsamsung/start.sh", 0); 337 startlcd = ostrcat(startlcd, " 99", 1, 0); 338 } 276 339 else 277 startlcd = ostrcat(getconfig("pluginpath", NULL), "/lcdsamsung/start.sh 2", 0, 0); 340 { 341 startlcd = createpluginpath("/lcdsamsung/start.sh", 0); 342 startlcd = ostrcat(startlcd, " 2", 1, 0); 343 } 278 344 279 345 … … 408 474 else 409 475 { 410 tmpstr = ostrcat("cp ", getconfig("pluginpath", NULL), 0, 0);411 tmpstr = ostrcat( tmpstr, "/lcdsamsung/standby.jpg", 1, 0);412 tmpstr = ostrcat(tmpstr, " /tmp/titanlcd. jpg", 1, 0);476 tmpstr = createpluginpath("/lcdsamsung/standby.jpg", 0); 477 tmpstr = ostrcat("cp ", tmpstr, 0, 1); 478 tmpstr = ostrcat(tmpstr, " /tmp/titanlcd.png", 1, 0); 413 479 system(tmpstr); 414 480 free(tmpstr); tmpstr=NULL; 415 481 sleep(3); 416 tmpstr = ostrcat("cp ", getconfig("pluginpath", NULL), 0, 0); 417 tmpstr = ostrcat(tmpstr, "/lcdsamsung/black.jpg", 1, 0); 418 tmpstr = ostrcat(tmpstr, " /tmp/titanlcd.jpg", 1, 0); 482 483 tmpstr = createpluginpath("/lcdsamsung/black.jpg", 0); 484 tmpstr = ostrcat("cp ", tmpstr, 0, 1); 485 tmpstr = ostrcat(tmpstr, " /tmp/titanlcd.png", 1, 0); 419 486 system(tmpstr); 420 487 sleep(2); … … 796 863 { 797 864 char* tmpstr = NULL; 798 tmpstr = ostrcat("cp ", getconfig("pluginpath", NULL), 0, 0); 799 tmpstr = ostrcat(tmpstr, "/lcdsamsung/start.jpg", 1, 0); 800 tmpstr = ostrcat(tmpstr, " /tmp/titanlcd.jpg", 1, 0); 865 866 tmpstr = createpluginpath("/lcdsamsung/start.png", 0); 867 tmpstr = ostrcat("cp ", tmpstr, 0, 1); 868 tmpstr = ostrcat(tmpstr, " /tmp/titanlcd.png", 1, 0); 801 869 system(tmpstr); 802 870 free(tmpstr); tmpstr=NULL; … … 822 890 firststart = 1; 823 891 824 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/lcdsamsung/skin.xml", 0, 0);892 tmpstr = createpluginpath("/lcdsamsung/skin.xml", 0); 825 893 readscreen(tmpstr, 119, 1); 826 894 free(tmpstr); tmpstr = NULL; 827 tmpstr = ostrcat("cp ", getconfig("pluginpath", NULL), 0, 0); 828 tmpstr = ostrcat(tmpstr, "/lcdsamsung/black.jpg", 1, 0); 895 896 tmpstr = createpluginpath("/lcdsamsung/black.jpg", 0); 897 tmpstr = ostrcat("cp ", tmpstr, 0, 1); 829 898 tmpstr = ostrcat(tmpstr, " /tmp/fbreadstop.jpg", 1, 0); 899 830 900 system(tmpstr); 831 901 free(tmpstr); tmpstr = NULL; … … 835 905 if(ostrcmp(tmpstr, "yes") == 0) 836 906 LCD_Samsung1_main(); 837 tmpstr =NULL;907 tmpstr = NULL; 838 908 } 839 909 -
titan/plugins/mboxinfo/mboxinfo.c
r17097 r24056 15 15 char* tmpstr = NULL; 16 16 17 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/mboxinfo/skin.xml", 0, 0);17 tmpstr = createpluginpath("/mboxinfo/skin.xml", 0); 18 18 readscreen(tmpstr, 194, 1); 19 19 free(tmpstr); tmpstr = NULL; -
titan/plugins/mc/mc_main.h
r21229 r24056 133 133 134 134 char* tmpstr = NULL; 135 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/mc/skin.xml", 0, 0);135 tmpstr = createpluginpath("/mc/skin.xml", 0); 136 136 readscreen(tmpstr, 101, 1); 137 137 free(tmpstr); tmpstr = NULL; -
titan/plugins/networkbrowser/networkbrowser.c
r23090 r24056 33 33 pluginmenu = child; 34 34 35 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/networkbrowser/skin.xml", 0, 0);35 tmpstr = createpluginpath("/networkbrowser/skin.xml", 0); 36 36 readscreen(tmpstr, 100, 1); 37 37 free(tmpstr); tmpstr = NULL; -
titan/plugins/optimize/optimize.c
r17097 r24056 16 16 char* tmpstr = NULL; 17 17 18 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/optimize/skin.xml", 0, 0);18 tmpstr = createpluginpath("/optimize/skin.xml", 0); 19 19 readscreen(tmpstr, 198, 1); 20 20 free(tmpstr); tmpstr = NULL; -
titan/plugins/panel/panel.c
r23090 r24056 37 37 38 38 //pluginmenu = child; 39 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/panel/skin.xml", 0, 0);39 tmpstr = createpluginpath("/panel/skin.xml", 0); 40 40 readscreen(tmpstr, 107, 1); 41 41 free(tmpstr); tmpstr = NULL; -
titan/plugins/permtime/permtime.c
r20784 r24056 73 73 pluginaktiv = 1; 74 74 75 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/permtime/skin.xml", 0, 0);75 tmpstr = createpluginpath("/permtime/skin.xml", 0); 76 76 readscreen(tmpstr, 115, 1); 77 77 free(tmpstr); tmpstr = NULL; -
titan/plugins/readerconfig/readerconfig.c
r19851 r24056 16 16 char* tmpstr = NULL; 17 17 18 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/readerconfig/skin.xml", 0, 0);18 tmpstr = createpluginpath("/readerconfig/skin.xml", 0); 19 19 readscreen(tmpstr, 243, 1); 20 20 free(tmpstr); tmpstr = NULL; -
titan/plugins/rgui/rgui.c
r17097 r24056 23 23 char* tmpstr = NULL; 24 24 25 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/rgui/skin.xml", 0, 0);25 tmpstr = createpluginpath("/rgui/skin.xml", 0); 26 26 readscreen(tmpstr, 197, 1); 27 27 free(tmpstr); tmpstr = NULL; -
titan/plugins/stock/stock.c
r17097 r24056 19 19 char* tmpstr = NULL; 20 20 21 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/stock/skin.xml", 0, 0);21 tmpstr = createpluginpath("/stock/skin.xml", 0); 22 22 readscreen(tmpstr, 220, 1); 23 23 free(tmpstr); tmpstr = NULL; -
titan/plugins/stopifnotused/stopifnotused.c
r19943 r24056 61 61 pluginaktiv = 1; 62 62 63 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/stopifnotused/skin.xml", 0, 0);63 tmpstr = createpluginpath("/stopifnotused/skin.xml", 0); 64 64 readscreen(tmpstr, 117, 1); 65 65 free(tmpstr); tmpstr = NULL; -
titan/plugins/streaminfo/streaminfo.c
r17097 r24056 19 19 char* tmpstr = NULL; 20 20 21 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/streaminfo/skin.xml", 0, 0);21 tmpstr = createpluginpath("/streaminfo/skin.xml", 0); 22 22 readscreen(tmpstr, 225, 1); 23 23 free(tmpstr); tmpstr = NULL; -
titan/plugins/tinews/tinews.c
r20766 r24056 16 16 char* tmpstr = NULL; 17 17 18 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/news/skin.xml", 0, 0);18 tmpstr = createpluginpath("/news/skin.xml", 0); 19 19 readscreen(tmpstr, 210, 1); 20 20 free(tmpstr); tmpstr = NULL; -
titan/plugins/tithek/tithek.c
r24002 r24056 36 36 char* tmpstr = NULL; 37 37 38 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/tithek/skin.xml", 0, 0);38 tmpstr = createpluginpath("/tithek/skin.xml", 0); 39 39 readscreen(tmpstr, 195, 1); 40 40 free(tmpstr); tmpstr = NULL; -
titan/plugins/tiwakeup/tiwakeup.c
r20616 r24056 23 23 char* tmpstr = NULL; 24 24 25 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/tiwakeup/skin.xml", 0, 0);25 tmpstr = createpluginpath("/tiwakeup/skin.xml", 0); 26 26 readscreen(tmpstr, 280, 1); 27 27 free(tmpstr); tmpstr = NULL; -
titan/plugins/tmc/tmc.c
r17097 r24056 19 19 char* tmpstr = NULL; 20 20 21 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/tmc/skin.xml", 0, 0);21 tmpstr = createpluginpath("/tmc/skin.xml", 0); 22 22 readscreen(tmpstr, 230, 1); 23 23 free(tmpstr); tmpstr = NULL; -
titan/plugins/tmdb/tmdb.c
r23090 r24056 30 30 31 31 pluginmenu = child; 32 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/tmdb/skin.xml", 0, 0);32 tmpstr = createpluginpath("/tmdb/skin.xml", 0); 33 33 readscreen(tmpstr, 201, 1); 34 34 free(tmpstr); tmpstr = NULL; -
titan/plugins/weather/weather.c
r17097 r24056 16 16 char* tmpstr = NULL; 17 17 18 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/weather/skin.xml", 0, 0);18 tmpstr = createpluginpath("/weather/skin.xml", 0); 19 19 readscreen(tmpstr, 208, 1); 20 20 free(tmpstr); tmpstr = NULL; -
titan/plugins/wins3/wins3.c
r17097 r24056 23 23 char* tmpstr = NULL; 24 24 25 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/wins3/skin.xml", 0, 0);25 tmpstr = createpluginpath("/wins3/skin.xml", 0); 26 26 readscreen(tmpstr, 196, 1); 27 27 free(tmpstr); tmpstr = NULL; -
titan/plugins/zapback/zapback.c
r19842 r24056 159 159 char* tmpstr = NULL; 160 160 pluginaktiv = 1; 161 tmpstr = ostrcat(getconfig("pluginpath", NULL), "/zapback/skin.xml", 0, 0);161 tmpstr = createpluginpath("/zapback/skin.xml", 0); 162 162 readscreen(tmpstr, 115, 1); 163 163 free(tmpstr); tmpstr = NULL;
Note: See TracChangeset
for help on using the changeset viewer.