From ad667186c0c45cfca9d3f153faec7ce35545b238 Mon Sep 17 00:00:00 2001 From: geronimo Date: Mon, 30 Jul 2012 17:51:05 +0200 Subject: created more readers --- libs/IO/IO.layout | 37 ++++++++++++++++++++++++++----------- libs/IO/include/ConfigReader.h | 14 +++++++------- libs/IO/src/ConfigReader.cc | 14 +++++++------- 3 files changed, 40 insertions(+), 25 deletions(-) (limited to 'libs/IO') diff --git a/libs/IO/IO.layout b/libs/IO/IO.layout index 4af9097..05f76d8 100644 --- a/libs/IO/IO.layout +++ b/libs/IO/IO.layout @@ -1,9 +1,24 @@ - + - + + + + + + + + + + + + + + + + @@ -11,29 +26,29 @@ - + - + - + - + - + - + - + - + - + diff --git a/libs/IO/include/ConfigReader.h b/libs/IO/include/ConfigReader.h index 6d0cd30..909d6a8 100644 --- a/libs/IO/include/ConfigReader.h +++ b/libs/IO/include/ConfigReader.h @@ -1,25 +1,25 @@ /** * ======================== legal notice ====================== - * + * * File: ConfigReader.h * Created: 28. Juli 2012, 18:41 * Author: Geronimo * 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 CONFIGREADER_H @@ -37,7 +37,7 @@ public: virtual ~cConfigReader(); void Close(void); - ConfigEntry *ReadValue(void); + ConfigEntry *ReadEntry(void); private: cLineReader *reader; diff --git a/libs/IO/src/ConfigReader.cc b/libs/IO/src/ConfigReader.cc index 152c908..2b31343 100644 --- a/libs/IO/src/ConfigReader.cc +++ b/libs/IO/src/ConfigReader.cc @@ -1,25 +1,25 @@ /** * ======================== legal notice ====================== - * + * * File: ConfigReader.cc * Created: 28. Juli 2012, 18:41 * Author: Geronimo * 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 - * + * * -------------------------------------------------------------- */ #include @@ -45,7 +45,7 @@ void cConfigReader::Close(void) } } -cConfigReader::ConfigEntry *cConfigReader::ReadValue() +cConfigReader::ConfigEntry *cConfigReader::ReadEntry() { if (!reader) return NULL; const char *line = reader->ReadLine(); -- cgit v1.2.3