diff options
Diffstat (limited to 'responsememblk.h')
-rwxr-xr-x | responsememblk.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/responsememblk.h b/responsememblk.h index f0b1174..ce17989 100755 --- a/responsememblk.h +++ b/responsememblk.h @@ -38,8 +38,9 @@ struct sFileEntry { string sName; string sPath; int sStart; + string sMime; -sFileEntry(string n, string l, int s) : sName(n), sPath(l), sStart(s) { +sFileEntry(string n, string l, int s, string m) : sName(n), sPath(l), sStart(s), sMime(m) { }; }; @@ -91,7 +92,7 @@ class cResponseMemBlk : public cResponseBase { int parseResume(cResumeEntry &entry, string &id); int parseFiles(vector<sFileEntry> *entries, string prefix, string dir_base, string dir_name, struct stat *statbuf); int sendDir(struct stat *statbuf); - int writeXmlItem(string title, string link, string programme, string desc, string guid, int no, time_t start, int dur, double fps, int is_pes, int is_new); + int writeXmlItem(string title, string link, string programme, string desc, string guid, int no, time_t start, int dur, double fps, int is_pes, int is_new, string mime); uint64_t getVdrFileSize(); private: |