summaryrefslogtreecommitdiff
path: root/recording.h
diff options
context:
space:
mode:
Diffstat (limited to 'recording.h')
-rw-r--r--recording.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/recording.h b/recording.h
index 045bb24..4bdcd1b 100644
--- a/recording.h
+++ b/recording.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: recording.h 1.57 2007/06/17 12:53:05 kls Exp $
+ * $Id: recording.h 1.59 2007/10/14 10:11:34 kls Exp $
*/
#ifndef __RECORDING_H
@@ -72,6 +72,8 @@ private:
mutable char *name;
mutable int fileSizeMB;
cRecordingInfo *info;
+ cRecording(const cRecording&); // can't copy cRecording
+ cRecording &operator=(const cRecording &); // can't assign cRecording
static char *StripEpisodeName(char *s);
char *SortName(void) const;
int GetResume(void) const;
@@ -100,6 +102,10 @@ public:
bool Remove(void);
// Actually removes the file from the disk
// Returns false in case of error
+ bool Undelete(void);
+ // Changes the file name so that it will be visible in the "Recordings" menu again and
+ // not processed by cRemoveDeletedRecordingsThread.
+ // Returns false in case of error
};
class cRecordings : public cList<cRecording>, public cThread {