summaryrefslogtreecommitdiff
path: root/recdone.h
diff options
context:
space:
mode:
authorJohann Friedrichs <johann.friedrichs@web.de>2018-03-21 12:14:55 +0100
committerJohann Friedrichs <johann.friedrichs@web.de>2018-03-21 12:14:55 +0100
commite8a0e569152c50d6084f252d12854b8fd4e74466 (patch)
tree5a90ef7ea08ff2096df157ca109c5268cdc04903 /recdone.h
parent9c7d95ff8d6ba965cb23147507a859b1fd0491d6 (diff)
downloadvdr-plugin-epgsearch-e8a0e569152c50d6084f252d12854b8fd4e74466.tar.gz
vdr-plugin-epgsearch-e8a0e569152c50d6084f252d12854b8fd4e74466.tar.bz2
unified indentation
Diffstat (limited to 'recdone.h')
-rw-r--r--recdone.h25
1 files changed, 14 insertions, 11 deletions
diff --git a/recdone.h b/recdone.h
index 3157305..cfad67f 100644
--- a/recdone.h
+++ b/recdone.h
@@ -32,7 +32,8 @@ The project's page is at http://winni.vdr-developer.org/epgsearch
class cSearchExt;
// --- cRecDone --------------------------------------------------------
-class cRecDone : public cListObject {
+class cRecDone : public cListObject
+{
public:
char *title; // Title of this event
char *shortText; // Short description of this event
@@ -57,17 +58,19 @@ public:
int ChannelNr();
};
-class cRecsDone : public cList<cRecDone>, public cMutex {
- private:
+class cRecsDone : public cList<cRecDone>, public cMutex
+{
+private:
char *fileName;
- public:
- void Clear(void)
- {
- free(fileName);
- fileName = NULL;
- cList<cRecDone>::Clear();
- }
- cRecsDone(void) { fileName = NULL; }
+public:
+ void Clear(void) {
+ free(fileName);
+ fileName = NULL;
+ cList<cRecDone>::Clear();
+ }
+ cRecsDone(void) {
+ fileName = NULL;
+ }
int GetCountRecordings(const cEvent* event, cSearchExt* search, cRecDone** first = NULL, int matchLimit = 90);
int GetCountRecordings(const cEvent*, bool compareTitle, int compareSubtitle, bool compareSummary, int compareDate, unsigned long, cRecDone** first = NULL, int matchLimit = 90);
int GetTotalCountRecordings(cSearchExt* search, cRecDone** first);