From 774e09eef2d7761814e6f19fb462eb0fdc74f2d7 Mon Sep 17 00:00:00 2001 From: geronimo Date: Wed, 25 Jul 2012 06:38:28 +0200 Subject: worked out different file class and improved media handling --- libs/util/include/AbstractListAssembler.h | 14 +++++++------- libs/util/include/JSonWriter.h | 14 +++++++------- libs/util/include/ManagedMap.h | 14 +++++++------- libs/util/util.layout | 30 +++++++++++++++--------------- libs/util/util.layout.save | 18 +++++++++--------- 5 files changed, 45 insertions(+), 45 deletions(-) (limited to 'libs/util') diff --git a/libs/util/include/AbstractListAssembler.h b/libs/util/include/AbstractListAssembler.h index bf0c81f..9ce357b 100644 --- a/libs/util/include/AbstractListAssembler.h +++ b/libs/util/include/AbstractListAssembler.h @@ -1,25 +1,25 @@ /** * ======================== legal notice ====================== - * + * * File: AbstractListAssembler.h * Created: 6. Juli 2012, 09 * Author: Geronimo * Project: libutil - base classes used by other libraries - * + * * 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 ABSTRACTLISTASSEMBLER_H @@ -43,7 +43,7 @@ protected: virtual bool OpenList(cStringBuilder &sb, std::map &Categories, size_t total, size_t start = 0, uint delta = 40) = 0; virtual bool AddElement(cStringBuilder &sb, void *, bool odd) = 0; virtual bool CloseList(cStringBuilder &sb, size_t total, size_t start = 0, uint delta = 40) = 0; -}; + }; #endif /* ABSTRACTLISTASSEMBLER_H */ diff --git a/libs/util/include/JSonWriter.h b/libs/util/include/JSonWriter.h index e20c240..00fdfb3 100644 --- a/libs/util/include/JSonWriter.h +++ b/libs/util/include/JSonWriter.h @@ -1,25 +1,25 @@ /** * ======================== legal notice ====================== - * + * * File: JSonWriter.h * Created: 6. Juli 2012, 12 * Author: Geronimo * Project: libutil - base classes used by other libraries - * + * * 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 JSONWRITER_H @@ -58,7 +58,7 @@ private: std::stack state; JSonState lastState; cStringBuilder &sb; -}; + }; #endif /* JSONWRITER_H */ diff --git a/libs/util/include/ManagedMap.h b/libs/util/include/ManagedMap.h index c780a6f..e1e6e2e 100644 --- a/libs/util/include/ManagedMap.h +++ b/libs/util/include/ManagedMap.h @@ -1,25 +1,25 @@ /** * ======================== legal notice ====================== - * + * * File: ManagedMap.h * Created: 7. Juli 2012, 08 * Author: Geronimo * Project: libutil - base classes used by other libraries - * + * * 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 MANAGEDMAP_H @@ -48,7 +48,7 @@ private: std::tr1::unordered_map internalMap; void (*freeCallback)(void *); typedef std::tr1::unordered_map::iterator iterator; -}; + }; #endif /* MANAGEDMAP_H */ diff --git a/libs/util/util.layout b/libs/util/util.layout index 00f0d49..0f0d56d 100644 --- a/libs/util/util.layout +++ b/libs/util/util.layout @@ -1,42 +1,42 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/libs/util/util.layout.save b/libs/util/util.layout.save index 8ba253a..117bda8 100644 --- a/libs/util/util.layout.save +++ b/libs/util/util.layout.save @@ -8,22 +8,22 @@ - + - + - + - + - + - + - + @@ -31,12 +31,12 @@ - + - + -- cgit v1.2.3