diff options
Diffstat (limited to 'tools/filesystem.h')
-rw-r--r-- | tools/filesystem.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/filesystem.h b/tools/filesystem.h new file mode 100644 index 0000000..7ea0954 --- /dev/null +++ b/tools/filesystem.h @@ -0,0 +1,14 @@ +#ifndef __FILESYSTEM_H +#define __FILESYSTEM_H + +#include <vdr/plugin.h> + +using namespace std; + +bool FileExists(const string &fullpath); +bool FileExists(const string &path, const string &name, const string &ext); +string ReadFromFile(const string &path); +bool WriteIntoFile(const string &path, const string &content); +time_t FileCreationTime(const string &path); + +#endif // __FILESYSTEM_H |