diff options
author | geronimo <geronimo013@gmx.de> | 2012-07-29 15:11:47 +0200 |
---|---|---|
committer | geronimo <geronimo013@gmx.de> | 2012-07-29 15:11:47 +0200 |
commit | 85cb3f04252b0228830903b21c08bb64e9919c18 (patch) | |
tree | 5c00dbd8d296861aa56cca598ee2a36e51971822 /libs/fsScan/include/FilesystemScanner.h | |
parent | 736033f3d532c4814eeff84db5dbf99f0249df6e (diff) | |
download | cmp-85cb3f04252b0228830903b21c08bb64e9919c18.tar.gz cmp-85cb3f04252b0228830903b21c08bb64e9919c18.tar.bz2 |
changed server setup to config file, little rearrangement of sources
Diffstat (limited to 'libs/fsScan/include/FilesystemScanner.h')
-rw-r--r-- | libs/fsScan/include/FilesystemScanner.h | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/libs/fsScan/include/FilesystemScanner.h b/libs/fsScan/include/FilesystemScanner.h deleted file mode 100644 index 51cd44e..0000000 --- a/libs/fsScan/include/FilesystemScanner.h +++ /dev/null @@ -1,52 +0,0 @@ -/** - * ======================== legal notice ====================== - * - * File: FilesystemScanner.h - * Created: 2. Juli 2012, 13 - * 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 FILESYSTEMSCANNER_H -#define FILESYSTEMSCANNER_H - -#include <ManagedVector.h> -#include <MediaFactory.h> -#include <map> - -class cAbstractMedia; -class cFilesystemScanner { -public: - cFilesystemScanner(); - virtual ~cFilesystemScanner(); - - cManagedVector &MediaPool(void) { return pool; } - std::map<int, size_t> &Categories(void) { return categories; } - cAbstractMedia *FindMedia(const char *LogicalPath); - void Refresh(void); - void SetMediaFactory(cMediaFactory *factory); - -private: - size_t fileBufSize; - cManagedVector pool; - std::map<int, size_t> categories; - cMediaFactory *mediaFactory; - }; - -#endif /* FILESYSTEMSCANNER_H */ - |