diff options
author | bju <bju@maxi.fritz.box> | 2014-01-11 05:03:11 +0100 |
---|---|---|
committer | bju <bju@maxi.fritz.box> | 2014-01-11 05:03:11 +0100 |
commit | 2676b99b3a7cae3ea8ebe827ac20684a90a84d07 (patch) | |
tree | f9fe3565bba7a77f7e75535ca6516bfd01438aa8 /vdr-vdrmanager/helpers.h | |
parent | f8ef6e8fbb2865ce53e3deee6015bef97c6125a1 (diff) | |
download | vdr-manager-2676b99b3a7cae3ea8ebe827ac20684a90a84d07.tar.gz vdr-manager-2676b99b3a7cae3ea8ebe827ac20684a90a84d07.tar.bz2 |
http://projects.vdr-developer.org/issues/1674 (mark conflicting timers in list)
Diffstat (limited to 'vdr-vdrmanager/helpers.h')
-rw-r--r-- | vdr-vdrmanager/helpers.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/vdr-vdrmanager/helpers.h b/vdr-vdrmanager/helpers.h index 18576be..d6e2a14 100644 --- a/vdr-vdrmanager/helpers.h +++ b/vdr-vdrmanager/helpers.h @@ -12,6 +12,7 @@ #include <iomanip> #include <sstream> #include <queue> +#include <set> using namespace std; @@ -36,7 +37,7 @@ private: static string SafeCall(string (*)()); static string SafeCall(string (*)(string), string arg); static string SafeCall(string (*)(string, string), string arg1, string arg2); - static string GetTimersIntern(); + static string GetTimersIntern(string options); static string GetRecordingsIntern(); static string GetChannelsIntern(string wantedChannels); static string SetChannelIntern(string wantedChannel); @@ -51,7 +52,7 @@ private: static string MapSpecialChars(const cString text); static string MapSpecialChars(const string text); static string ToText(const cEvent * event); - static string ToText(cTimer * timer); + static string ToText(cTimer * timer, set<string> conflicts); static string ToText(cRecording * recording); static string GetAudioTracks(const cChannel* channel); static string replaceAll(const string& where, const string& what, const string& replacement); @@ -63,5 +64,5 @@ private: static int ConvertWeekdays(string v); static queue<int> ConvertToBinary(int v); static string DelRecording(cRecording * r); - + static set<string> GetTimerConflicts(); }; |