1 #ifndef __lib_base_nconfig_h_
2 #define __lib_base_nconfig_h_
4 #include <lib/python/python.h>
6 class ePythonConfigQuery
8 static ePyObject m_queryFunc;
9 ePythonConfigQuery() {}
10 ~ePythonConfigQuery() {}
12 static void setQueryFunc(SWIG_PYOBJECT(ePyObject) func);
14 static RESULT getConfigValue(const char *key, std::string &value);
15 static int getConfigIntValue(const char *key, int defaultvalue = 0);
16 static bool getConfigBoolValue(const char *key, bool defaultvalue = false);
20 #endif // __lib_base_nconfig_h_