summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/common.h b/common.h
index 9d7b30a..f596a01 100644
--- a/common.h
+++ b/common.h
@@ -11,6 +11,9 @@
#include <vdr/config.h>
#include <vdr/epg.h>
+// from recording.h (VDR <= 1.7.2)
+#define FRAMESPERSEC 25
+
#if defined(DEBUG) || defined(BENCH)
# ifdef DEBUG
# define Dprintf(x...) fprintf(stderr, x)
@@ -78,35 +81,32 @@ std::string FitToWidth(std::stringstream &Line, uint Width);
std::string StripXmlTag(std::string &Line, const char *Tag);
// Data structure for service "Epgsearch-searchresults-v1.0"
-struct Epgsearch_searchresults_v1_0
-{
+struct Epgsearch_searchresults_v1_0 {
// in
- char* query; // search term
- int mode; // search mode (0=phrase, 1=and, 2=or, 3=regular expression)
- int channelNr; // channel number to search in (0=any)
- bool useTitle; // search in title
- bool useSubTitle; // search in subtitle
- bool useDescription; // search in description
+ char* query; // search term
+ int mode; // search mode (0=phrase, 1=and, 2=or, 3=regular expression)
+ int channelNr; // channel number to search in (0=any)
+ bool useTitle; // search in title
+ bool useSubTitle; // search in subtitle
+ bool useDescription; // search in description
// out
- class cServiceSearchResult : public cListObject
- {
+ class cServiceSearchResult : public cListObject {
public:
- const cEvent* event;
- cServiceSearchResult(const cEvent* Event) : event(Event) {}
+ const cEvent* event;
+ cServiceSearchResult(const cEvent* Event) : event(Event) {}
};
- cList<cServiceSearchResult>* pResultList; // pointer to the results
+ cList<cServiceSearchResult>* pResultList; // pointer to the results
};
// Data structure for service "Epgsearch-lastconflictinfo-v1.0"
-struct Epgsearch_lastconflictinfo_v1_0
-{
+struct Epgsearch_lastconflictinfo_v1_0 {
// in
// out
- time_t nextConflict; // next conflict date, 0 if none
- int relevantConflicts; // number of relevant conflicts
- int totalConflicts; // total number of conflicts
+ time_t nextConflict; // next conflict date, 0 if none
+ int relevantConflicts; // number of relevant conflicts
+ int totalConflicts; // total number of conflicts
};
#endif // VDR_TEXT2SKIN_COMMON_H