diff options
author | louis <louis.braun@gmx.de> | 2015-01-15 13:12:47 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2015-01-15 13:12:47 +0100 |
commit | c7f71f3f2b580714bd9e5a5c773bc2179c0e8567 (patch) | |
tree | a39d3efd5494b60964152e559eaead76c7897af5 /tools/filesystem.h | |
download | vdr-plugin-weatherforecast-0.0.1.tar.gz vdr-plugin-weatherforecast-0.0.1.tar.bz2 |
Initial commit0.0.1
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 |