Changeset 16927


Ignore:
Timestamp:
07/01/12 14:03:19 (9 years ago)
Author:
nit
Message:

[titan] add new skinfunc getimgname

Location:
titan
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • titan/doc/skindoku.txt

    r15940 r16927  
    162162getprovidername
    163163getpowerofftime
     164getimgname
  • titan/settings/titan.cfg

    r16859 r16927  
    123123vmpegyresdev=/proc/stb/vmpeg/0/yres
    124124nofirstwizzard=1
     125imagenamefile=/etc/version
  • titan/titan/skin.h

    r16897 r16927  
    134134        if(ostrcmp("getakttuner", value) == 0)
    135135                return &getakttuner;
     136        if(ostrcmp("getimgname", value) == 0)
     137                return &getimgname;
    136138        if(ostrcmp("gettime", value) == 0)
    137139                return &gettime;
  • titan/titan/skinfunc.h

    r16286 r16927  
    866866}
    867867
     868char* getimgname(struct skin* node)
     869{
     870        char* tmpstr = NULL;
     871
     872        tmpstr = readfiletomem(getconfig("imagenamefile", NULL), 1);
     873
     874        return tmpstr;
     875}
     876
    868877#endif
Note: See TracChangeset for help on using the changeset viewer.