summaryrefslogtreecommitdiff
path: root/vdr-vdrmanager/helpers.h
diff options
context:
space:
mode:
authorbju <bju@maxi.fritz.box>2015-11-03 23:25:38 +0100
committerbju <bju@maxi.fritz.box>2015-11-03 23:25:38 +0100
commitab00bce8992e252f60ed8a25f3aec8654da72f84 (patch)
tree203552df6908c1cff1584e157f697fb69ca03522 /vdr-vdrmanager/helpers.h
parent559f24829ce27087a4d36ed52432dafaed7b5717 (diff)
downloadvdr-manager-vdr-2.3.1.tar.gz
vdr-manager-vdr-2.3.1.tar.bz2
first try to run with vdr-2.3.1vdr-2.3.1
Diffstat (limited to 'vdr-vdrmanager/helpers.h')
-rw-r--r--vdr-vdrmanager/helpers.h14
1 files changed, 7 insertions, 7 deletions
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<string> conflicts);
- static string ToText(cRecording * recording);
+ static string ToText(const cTimer * timer, set<string> 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<int> ConvertToBinary(int v);