blob: d026a391c1c6c18c3a4bed0a1809b26f7cc1a568 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/*
* archive.h: A plugin for the Video Disk Recorder
*
* See the README file for copyright information and how to reach the author.
*
* $Id$
*/
#ifndef __ARCHIVE_H
#define __ARCHIVE_H
#include <vdr/menu.h>
#include <vdr/recording.h>
#include <vdr/tools.h>
#include "mymenu.h"
class cMyMenuRecordingItem;
class cArchive {
private:
static char buf[8];
static bool FindUniqueFolder(const char *Parent, const char *Target);
public:
static cString archivePath;
static bool Filecopy(const char *Sourcefile, const char *Destfile);
static const char *GetArchiveId(const cRecording *Recording);
static bool MountArchive(void);
static bool UnmountArchive(void);
static bool LinkArchive(const cRecording *Recording);
static bool UnlinkArchive(const cRecording *Recording);
};
#endif //__ARCHIVE_H
|