summaryrefslogtreecommitdiff
path: root/vdrtva.h
diff options
context:
space:
mode:
Diffstat (limited to 'vdrtva.h')
-rw-r--r--vdrtva.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/vdrtva.h b/vdrtva.h
index 815c924..87f4ac8 100644
--- a/vdrtva.h
+++ b/vdrtva.h
@@ -167,14 +167,17 @@ class cLinkItem : public cListObject {
int modtime;
char *iCrids;
char *path;
+ char *title;
public:
- cLinkItem(const char *sCRID, int ModTime, const char *iCRIDs, const char *Path);
+ cLinkItem(const char *sCRID, int ModTime, const char *iCRIDs, const char *Path, const char *Title);
~cLinkItem(void);
- void Set(const char *sCRID, int ModTime, const char *iCRIDs, const char *Path);
+ void SetModtime(int modtime);
+ void SetIcrids(const char *icrids);
char * iCRIDs(void) { return iCrids; }
char * sCRID(void) { return sCrid; }
int ModTime(void) { return modtime; }
char * Path(void) { return path; }
+ char * Title(void) { return title; }
};
class cLinks : public cRwLock, public cConfig<cLinkItem> {
@@ -183,7 +186,7 @@ class cLinks : public cRwLock, public cConfig<cLinkItem> {
public:
cLinks(void);
int MaxNumber(void) { return maxNumber; }
- cLinkItem *NewLinkItem(const char *sCRID, int ModTime, const char *iCRIDs, const char *Path);
+ cLinkItem *NewLinkItem(const char *sCRID, int ModTime, const char *iCRIDs, const char *Path, const char *Title);
bool DeleteItem(const char *sCRID);
bool Expire(void);
};