diff options
author | geronimo <geronimo013@gmx.de> | 2012-07-29 16:00:29 +0200 |
---|---|---|
committer | geronimo <geronimo013@gmx.de> | 2012-07-29 16:00:29 +0200 |
commit | aa714b0076c06d7133c625ab22c86114d4f17e23 (patch) | |
tree | f4773543d7c0bf593c20b1a033dea8dc28dd8ad5 /libs/IO/include/FileReader.h | |
parent | 4039d18078da508ba8c628df8e2aa741cf91f266 (diff) | |
download | cmp-aa714b0076c06d7133c625ab22c86114d4f17e23.tar.gz cmp-aa714b0076c06d7133c625ab22c86114d4f17e23.tar.bz2 |
cleanup
Diffstat (limited to 'libs/IO/include/FileReader.h')
-rw-r--r-- | libs/IO/include/FileReader.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/libs/IO/include/FileReader.h b/libs/IO/include/FileReader.h new file mode 100644 index 0000000..31cb7d6 --- /dev/null +++ b/libs/IO/include/FileReader.h @@ -0,0 +1,44 @@ +/** + * ======================== legal notice ====================== + * + * File: FileReader.h + * Created: 28. Juli 2012, 15:00 + * Author: <a href="mailto:geronimo013@gmx.de">Geronimo</a> + * Project: libIO: classes for files, filesystem and input/output + * + * CMP - compound media player + * + * is a client/server mediaplayer intended to play any media from any workstation + * without the need to export or mount shares. cmps is an easy to use backend + * with a (ready to use) HTML-interface. Additionally the backend supports + * authentication via HTTP-digest authorization. + * cmpc is a client with vdr-like osd-menues. + * + * Copyright (c) 2012 Reinhard Mantey, some rights reserved! + * published under Creative Commons by-sa + * For details see http://creativecommons.org/licenses/by-sa/3.0/ + * + * The cmp project's homepage is at http://projects.vdr-developer.org/projects/cmp + * + * -------------------------------------------------------------- + */ +#ifndef FILEREADER_H +#define FILEREADER_H + +class cFile; +class cFileReader +{ +public: + cFileReader(cFile *Input); + virtual ~cFileReader(); + + int Read(char *buf, int bufSize); + void Close(); + +private: + int fd; + cFile *file; + }; + +#endif /* FILEREADER_H */ + |