summaryrefslogtreecommitdiff
path: root/tools/filesystem.h
blob: 7ea0954449a74ac1cffc5ecc63e2f81d5aedad99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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