From ab7186c6c116629983dc506c4b53794026518455 Mon Sep 17 00:00:00 2001 From: geronimo Date: Sun, 22 Jul 2012 11:38:43 +0200 Subject: worked out new file class --- libs/fsScan/fsScan.cbp | 10 +- libs/fsScan/fsScan.layout | 35 +++++ libs/fsScan/fsScan.layout.save | 35 +++++ libs/fsScan/include/AbstractMedia.h | 2 +- libs/fsScan/include/AbstractMultiFileMovie.h | 2 +- libs/fsScan/include/Audio.h | 2 +- libs/fsScan/include/DVDImage.h | 2 +- libs/fsScan/include/File.h | 65 +++++++++ libs/fsScan/include/FileRepresentation.h | 53 ++++++++ libs/fsScan/include/FileSystem.h | 51 +++++++ libs/fsScan/include/FilesystemScanner.h | 2 +- libs/fsScan/include/LegacyVdrRecording.h | 2 +- libs/fsScan/include/MediaFactory.h | 2 +- libs/fsScan/include/Movie.h | 2 +- libs/fsScan/include/Picture.h | 2 +- libs/fsScan/include/VdrRecording.h | 2 +- libs/fsScan/nbproject/Makefile-Debug.mk | 38 ++++-- libs/fsScan/nbproject/Makefile-Release.mk | 18 +++ libs/fsScan/nbproject/configurations.xml | 14 +- libs/fsScan/nbproject/private/configurations.xml | 2 +- libs/fsScan/nbproject/private/private.xml | 1 + libs/fsScan/src/AbstractMedia.cc | 2 +- libs/fsScan/src/AbstractMultiFileMovie.cc | 2 +- libs/fsScan/src/Audio.cc | 2 +- libs/fsScan/src/DVDImage.cc | 2 +- libs/fsScan/src/File.cc | 146 +++++++++++++++++++++ libs/fsScan/src/FileRepresentation.cc | 109 +++++++++++++++ libs/fsScan/src/FileSystem.cc | 132 +++++++++++++++++++ libs/fsScan/src/FilesystemScanner.cc | 14 +- libs/fsScan/src/LegacyVdrRecording.cc | 2 +- libs/fsScan/src/MediaFactory.cc | 2 +- libs/fsScan/src/Movie.cc | 2 +- libs/fsScan/src/Picture.cc | 2 +- libs/fsScan/src/VdrRecording.cc | 2 +- libs/networking/include/AbstractSocket.h | 14 +- libs/networking/include/Authorization.h | 2 +- libs/networking/include/ClientSocket.h | 2 +- libs/networking/include/ConnectionHandler.h | 2 +- libs/networking/include/ConnectionPoint.h | 2 +- libs/networking/include/Credentials.h | 2 +- libs/networking/include/HTTPAuthorizationRequest.h | 2 +- libs/networking/include/HTTPFileResponse.h | 2 +- libs/networking/include/HTTPMessage.h | 2 +- libs/networking/include/HTTPParser.h | 2 +- libs/networking/include/HTTPRequest.h | 2 +- libs/networking/include/HTTPRequestHandler.h | 2 +- libs/networking/include/HTTPResponse.h | 2 +- libs/networking/include/HTTPServer.h | 2 +- libs/networking/include/HTTPStatus.h | 2 +- libs/networking/include/Principal.h | 2 +- libs/networking/include/ServerConfig.h | 14 +- libs/networking/include/ServerSocket.h | 14 +- libs/networking/include/Url.h | 2 +- libs/networking/nbproject/private/private.xml | 1 + libs/networking/networking.layout | 16 +-- libs/networking/networking.layout.save | 16 +-- libs/networking/src/AbstractSocket.cc | 2 +- libs/networking/src/Authorization.cc | 2 +- libs/networking/src/ClientSocket.cc | 2 +- libs/networking/src/ConnectionHandler.cc | 2 +- libs/networking/src/ConnectionPoint.cc | 2 +- libs/networking/src/Credentials.cc | 2 +- libs/networking/src/HTTPAuthorizationRequest.cc | 2 +- libs/networking/src/HTTPFileResponse.cc | 2 +- libs/networking/src/HTTPMessage.cc | 2 +- libs/networking/src/HTTPParser.cc | 2 +- libs/networking/src/HTTPRequest.cc | 2 +- libs/networking/src/HTTPRequestHandler.cc | 2 +- libs/networking/src/HTTPResponse.cc | 2 +- libs/networking/src/HTTPServer.cc | 14 +- libs/networking/src/HTTPStatus.cc | 2 +- libs/networking/src/Principal.cc | 2 +- libs/networking/src/ServerConfig.cc | 14 +- libs/networking/src/ServerSocket.cc | 14 +- libs/networking/src/Url.cc | 2 +- libs/util/include/AbstractListAssembler.h | 2 +- libs/util/include/Codec.h | 2 +- libs/util/include/JSonWriter.h | 14 +- libs/util/include/MD5Calculator.h | 2 +- libs/util/include/ManagedMap.h | 2 +- libs/util/include/ManagedVector.h | 2 +- libs/util/include/NamedValue.h | 2 +- libs/util/include/StringBuilder.h | 9 +- libs/util/include/util.h | 2 +- libs/util/src/AbstractListAssembler.cc | 2 +- libs/util/src/Codec.cc | 2 +- libs/util/src/JSonWriter.cc | 39 ++++-- libs/util/src/MD5Calculator.cc | 2 +- libs/util/src/ManagedMap.cc | 2 +- libs/util/src/ManagedVector.cc | 2 +- libs/util/src/NamedValue.cc | 2 +- libs/util/src/StringBuilder.cc | 31 ++++- libs/util/src/util.cc | 2 +- libs/util/util.layout | 22 ++-- libs/util/util.layout.save | 28 ++-- libs/vdr/nbproject/private/private.xml | 1 + libs/vdr/src/ReadDir.cc | 18 +-- libs/vdr/vdr.layout | 13 +- libs/vdr/vdr.layout.save | 13 +- 99 files changed, 948 insertions(+), 210 deletions(-) create mode 100644 libs/fsScan/include/File.h create mode 100644 libs/fsScan/include/FileRepresentation.h create mode 100644 libs/fsScan/include/FileSystem.h create mode 100644 libs/fsScan/src/File.cc create mode 100644 libs/fsScan/src/FileRepresentation.cc create mode 100644 libs/fsScan/src/FileSystem.cc (limited to 'libs') diff --git a/libs/fsScan/fsScan.cbp b/libs/fsScan/fsScan.cbp index bef32fe..8f51f56 100644 --- a/libs/fsScan/fsScan.cbp +++ b/libs/fsScan/fsScan.cbp @@ -7,7 +7,7 @@