summaryrefslogtreecommitdiff
path: root/cmps/tests/MetaScanTest.cc
diff options
context:
space:
mode:
authorgeronimo <geronimo013@gmx.de>2012-08-02 08:07:59 +0200
committergeronimo <geronimo013@gmx.de>2012-08-02 08:07:59 +0200
commitadb7d83292e1502ca7c21a123b104412cb22d160 (patch)
treeecb448802df0d35f1c3289c4f0e7c246ee5c021a /cmps/tests/MetaScanTest.cc
parent5416f2e39cfedc474c87e0a3eeff067fbb25dceb (diff)
downloadcmp-adb7d83292e1502ca7c21a123b104412cb22d160.tar.gz
cmp-adb7d83292e1502ca7c21a123b104412cb22d160.tar.bz2
worked out processing of some meta data, extended json list elements
Diffstat (limited to 'cmps/tests/MetaScanTest.cc')
-rw-r--r--cmps/tests/MetaScanTest.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/cmps/tests/MetaScanTest.cc b/cmps/tests/MetaScanTest.cc
index 1b57752..c207d5c 100644
--- a/cmps/tests/MetaScanTest.cc
+++ b/cmps/tests/MetaScanTest.cc
@@ -39,22 +39,10 @@
void parseConfig(const char *FileName)
{
-#ifdef OLD_STUFF
- cConfigReader *cr = new cConfigReader(new cLineReader(new cFileReader(new cFile(FileName))));
- cConfigReader::ConfigEntry *ce;
-
- while ((ce = cr->ReadEntry())) {
- std::cout << "config entry [" << std::get<0>(*ce) << "] => " << std::get<1>(*ce) << std::endl;
- delete ce;
- }
- cr->Close();
- delete cr;
-#else
cMediaServerConfig msc("/var/lib/cmp");
msc.Load("srserver.conf");
msc.Dump();
-#endif
}
void dumpTextfile(const char *FileName)