summaryrefslogtreecommitdiff
path: root/src/miav_config.cc
diff options
context:
space:
mode:
authordeva <deva>2005-04-26 07:53:37 +0000
committerdeva <deva>2005-04-26 07:53:37 +0000
commit805229c3b5a9b5078a273d175140b42445fd501a (patch)
treec272ac633cbc6914c585c9d196b4406d4cca2949 /src/miav_config.cc
parent3ac7bf67ffca34e84053b2721aba922baf30d660 (diff)
Made variable argument pushError method
Diffstat (limited to 'src/miav_config.cc')
-rw-r--r--src/miav_config.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/miav_config.cc b/src/miav_config.cc
index 8a9307d..c0acfb8 100644
--- a/src/miav_config.cc
+++ b/src/miav_config.cc
@@ -26,6 +26,8 @@
#include <config.h>
#include "miav_config.h"
+MiavConfig *config;
+
MiavConfig::MiavConfig(char *file, Error* err)
{
error = err;
@@ -254,3 +256,8 @@ _cfg *MiavConfig::findNode(char* node)
if(error) error->pushError(errbuf);
return NULL;
}
+
+Error* MiavConfig::getErrorObj()
+{
+ return error;
+}