diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-03-22 13:17:22 +0100 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-03-22 13:17:22 +0100 |
commit | a8ca6f19da6c0c3834729416a0c9eacc004ef200 (patch) | |
tree | 1347a5acf046a3459822bc5e1b0deba5e4bd1a72 /timerconflict.h | |
parent | 68af1b20863d390355cc14a563a3a5062382dfb1 (diff) | |
download | vdr-plugin-tvguide-a8ca6f19da6c0c3834729416a0c9eacc004ef200.tar.gz vdr-plugin-tvguide-a8ca6f19da6c0c3834729416a0c9eacc004ef200.tar.bz2 |
Set ff=unix for some files
Diffstat (limited to 'timerconflict.h')
-rw-r--r-- | timerconflict.h | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/timerconflict.h b/timerconflict.h index d3def89..0a04dcf 100644 --- a/timerconflict.h +++ b/timerconflict.h @@ -1,38 +1,38 @@ -#ifndef __TVGUIDE_TIMERCONFLICT_H
-#define __TVGUIDE_TIMERCONFLICT_H
-
-class cTVGuideTimerConflict {
-public:
- cTVGuideTimerConflict(void);
- virtual ~cTVGuideTimerConflict(void);
- time_t time;
- time_t timeStart;
- time_t timeStop;
- time_t overlapStart;
- time_t overlapStop;
- int percentPossible;
- int timerID;
- std::vector<int> timerIDs;
- bool timerInvolved(int involvedID);
-};
-
-class cTVGuideTimerConflicts {
-private:
- std::vector<cTVGuideTimerConflict*> conflicts;
- int numConflicts;
- int currentConflict;
-public:
- cTVGuideTimerConflicts(void);
- virtual ~cTVGuideTimerConflicts(void);
- void AddConflict(std::string epgSearchConflictLine);
- void CalculateConflicts(void);
- int NumConflicts(void) {return numConflicts; };
- void SetCurrentConflict(int current) { currentConflict = current; };
- cTVGuideTimerConflict *GetCurrentConflict(void);
- int GetCurrentConflictTimerID(int timerIndex);
- int GetCorrespondingConflict(int timerID);
- cTVGuideTimerConflict *GetConflict(int conflictIndex);
- std::vector<cTVGuideTimerConflict*> GetConflictsBetween(time_t start, time_t stop);
-};
-
-#endif //__TVGUIDE_RECMMANAGER_H
\ No newline at end of file +#ifndef __TVGUIDE_TIMERCONFLICT_H +#define __TVGUIDE_TIMERCONFLICT_H + +class cTVGuideTimerConflict { +public: + cTVGuideTimerConflict(void); + virtual ~cTVGuideTimerConflict(void); + time_t time; + time_t timeStart; + time_t timeStop; + time_t overlapStart; + time_t overlapStop; + int percentPossible; + int timerID; + std::vector<int> timerIDs; + bool timerInvolved(int involvedID); +}; + +class cTVGuideTimerConflicts { +private: + std::vector<cTVGuideTimerConflict*> conflicts; + int numConflicts; + int currentConflict; +public: + cTVGuideTimerConflicts(void); + virtual ~cTVGuideTimerConflicts(void); + void AddConflict(std::string epgSearchConflictLine); + void CalculateConflicts(void); + int NumConflicts(void) {return numConflicts; }; + void SetCurrentConflict(int current) { currentConflict = current; }; + cTVGuideTimerConflict *GetCurrentConflict(void); + int GetCurrentConflictTimerID(int timerIndex); + int GetCorrespondingConflict(int timerID); + cTVGuideTimerConflict *GetConflict(int conflictIndex); + std::vector<cTVGuideTimerConflict*> GetConflictsBetween(time_t start, time_t stop); +}; + +#endif //__TVGUIDE_RECMMANAGER_H |