]> git.vomp.tv Git - vompclient.git/blob - rectimer.h
Completion of move recording code. Fixes for dir counts, other bugs.
[vompclient.git] / rectimer.h
1 /*
2     Copyright 2004-2005 Chris Tallon
3
4     This file is part of VOMP.
5
6     VOMP is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation; either version 2 of the License, or
9     (at your option) any later version.
10
11     VOMP is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     GNU General Public License for more details.
15
16     You should have received a copy of the GNU General Public License
17     along with VOMP; if not, write to the Free Software
18     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19 */
20
21 #ifndef RECTIMER_H
22 #define RECTIMER_H
23
24 #include <stdio.h>
25 #include <string.h>
26
27 #include "defines.h"
28
29 class RecTimer
30 {
31   public:
32     RecTimer();
33     ~RecTimer();
34     void setFile(const char* tFile);
35
36     const char* getFile() { return file; }
37     const char* getDirectory() { return directory; }
38     const char* getName() { return name; }
39
40     ULONG active;
41     ULONG recording;
42     ULONG pending;
43     ULONG priority;
44     ULONG lifeTime;
45     ULONG channelNumber;
46     ULONG startTime;
47     ULONG stopTime;
48
49 //    int index;
50
51     bool operator< (const RecTimer& op2);
52
53   private:
54     char* file;
55     char* directory;
56     char* name;
57 };
58
59 #endif
60
61
62 // File = orig VDR info = filename
63 // Directory = Base Dir
64 // Name = Prog name
65
66 /*
67 Name
68 Directory
69 Active
70 Recording
71 Pending
72 Priority
73 Lifetime
74 Channel number
75 Start time
76 Stop time
77 */