summaryrefslogtreecommitdiff
path: root/libs/fsScan/include/FileSystem.h
diff options
context:
space:
mode:
authorgeronimo <geronimo013@gmx.de>2012-07-29 15:11:47 +0200
committergeronimo <geronimo013@gmx.de>2012-07-29 15:11:47 +0200
commit85cb3f04252b0228830903b21c08bb64e9919c18 (patch)
tree5c00dbd8d296861aa56cca598ee2a36e51971822 /libs/fsScan/include/FileSystem.h
parent736033f3d532c4814eeff84db5dbf99f0249df6e (diff)
downloadcmp-85cb3f04252b0228830903b21c08bb64e9919c18.tar.gz
cmp-85cb3f04252b0228830903b21c08bb64e9919c18.tar.bz2
changed server setup to config file, little rearrangement of sources
Diffstat (limited to 'libs/fsScan/include/FileSystem.h')
-rw-r--r--libs/fsScan/include/FileSystem.h50
1 files changed, 0 insertions, 50 deletions
diff --git a/libs/fsScan/include/FileSystem.h b/libs/fsScan/include/FileSystem.h
deleted file mode 100644
index 0cf4a2f..0000000
--- a/libs/fsScan/include/FileSystem.h
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * ======================== legal notice ======================
- *
- * File: FileSystem.h
- * Created: 21. Juli 2012, 12
- * Author: <a href="mailto:geronimo013@gmx.de">Geronimo</a>
- * Project: libfsScan: mediatypes and filesystem scanning
- *
- * 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 FILESYSTEM_H
-#define FILESYSTEM_H
-
-#include <tr1/unordered_map>
-#include <string>
-
-class cFile;
-class cFileRepresentation;
-class cFileSystem {
-public:
- cFileSystem();
- virtual ~cFileSystem();
-
- cFileRepresentation *representationOfFile(const char *Path);
- cFileRepresentation *representationOfFile(const cFile &Parent, const char *Path);
-
-private:
- cFileRepresentation *cacheEntry(const char *Path);
- std::tr1::unordered_map<std::string, cFileRepresentation *> fileCache;
- static char PathSeparator;
- static char RootPath[4];
- friend class cFileRepresentation;
- };
-
-#endif /* FILESYSTEM_H */
-