From ab00bce8992e252f60ed8a25f3aec8654da72f84 Mon Sep 17 00:00:00 2001 From: bju Date: Tue, 3 Nov 2015 23:25:38 +0100 Subject: first try to run with vdr-2.3.1 --- vdr-vdrmanager/helpers.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'vdr-vdrmanager/helpers.h') diff --git a/vdr-vdrmanager/helpers.h b/vdr-vdrmanager/helpers.h index d6e2a14..75701d7 100644 --- a/vdr-vdrmanager/helpers.h +++ b/vdr-vdrmanager/helpers.h @@ -32,7 +32,7 @@ public: static string ToUpper(string text); static string ToLower(string text); static string Trim(string text); - static long Duration(cRecording* recording); + static long Duration(const cRecording* recording); private: static string SafeCall(string (*)()); static string SafeCall(string (*)(string), string arg); @@ -45,21 +45,21 @@ private: static string DelRecordingIntern(string index); static string SetTimerIntern(string args); static string SearchEventsIntern(string wantedChannels, string pattern); - static bool IsWantedEvent(cEvent * event, string pattern); - static bool IsWantedChannel(cChannel * channel, string wantedChannels); - static bool IsWantedTime(time_t when, cEvent * event); + static bool IsWantedEvent(const cEvent * event, string pattern); + static bool IsWantedChannel(const cChannel * channel, string wantedChannels); + static bool IsWantedTime(time_t when, const cEvent * event); static string MapSpecialChars(const char * text); static string MapSpecialChars(const cString text); static string MapSpecialChars(const string text); static string ToText(const cEvent * event); - static string ToText(cTimer * timer, set conflicts); - static string ToText(cRecording * recording); + static string ToText(const cTimer * timer, set conflicts); + static string ToText(const cRecording * recording); static string GetAudioTracks(const cChannel* channel); static string replaceAll(const string& where, const string& what, const string& replacement); static string UnMapSpecialChars(string text); static string Error(const string &error); static string SetTimerIntern(char c, string params); - static int RecordingLengthInSeconds(cRecording* recording); + static int RecordingLengthInSeconds(const cRecording* recording); static string ConvertWeekdays(int v); static int ConvertWeekdays(string v); static queue ConvertToBinary(int v); -- cgit v1.2.3