GH #134: Fixed problem in Util::Application with xml or inifile no config

GH #134: Fixed problem in Util::Application with xml or inifile no
config
This commit is contained in:
Aleksandar Fabijanic
2013-03-24 00:18:35 -05:00
parent 3abf1cc73c
commit 4c593dba7a
7 changed files with 42 additions and 20 deletions

View File

@@ -41,6 +41,11 @@
#include "Poco/Util/Util.h"
#ifndef POCO_UTIL_NO_INIFILECONFIGURATION
#include "Poco/Util/AbstractConfiguration.h"
#include <map>
#include <istream>
@@ -110,4 +115,7 @@ private:
} } // namespace Poco::Util
#endif // POCO_UTIL_NO_INIFILECONFIGURATION
#endif // Util_IniFileConfiguration_INCLUDED

View File

@@ -36,15 +36,16 @@
//
// Avoid accidental linking of JSON library when JSONConfiguration
// is not desired.
#ifndef POCO_UTIL_NO_JSONCONFIGURATION
#ifndef Util_JSONConfiguration_INCLUDED
#define Util_JSONConfiguration_INCLUDED
#include "Poco/Util/Util.h"
#ifndef POCO_UTIL_NO_JSONCONFIGURATION
#include "Poco/Util/AbstractConfiguration.h"
#include "Poco/JSON/Object.h"
#include <istream>
@@ -164,6 +165,8 @@ private:
} } // namespace Poco::Util
#endif // POCO_UTIL_NO_JSONCONFIGURATION
#endif // Util_JSONConfiguration_INCLUDED
#endif // POCO_UTIL_NO_JSONCONFIGURATION

View File

@@ -36,16 +36,16 @@
//
// Avoid accidental linking of XML library when XMLConfiguration
// is not desired.
#ifndef POCO_UTIL_NO_XMLCONFIGURATION
#ifndef Util_XMLConfiguration_INCLUDED
#define Util_XMLConfiguration_INCLUDED
#include "Poco/Util/Util.h"
#ifndef POCO_UTIL_NO_XMLCONFIGURATION
#include "Poco/Util/MapConfiguration.h"
#include "Poco/DOM/Document.h"
#include "Poco/DOM/AutoPtr.h"
@@ -219,6 +219,7 @@ private:
} } // namespace Poco::Util
#endif // Util_XMLConfiguration_INCLUDED
#endif // POCO_UTIL_NO_XMLCONFIGURATION
#endif // Util_XMLConfiguration_INCLUDED