summaryrefslogtreecommitdiff
path: root/src/miav.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.cc
parent3ac7bf67ffca34e84053b2721aba922baf30d660 (diff)
Made variable argument pushError method
Diffstat (limited to 'src/miav.cc')
-rw-r--r--src/miav.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/miav.cc b/src/miav.cc
index c441dca..eedeb7e 100644
--- a/src/miav.cc
+++ b/src/miav.cc
@@ -30,9 +30,11 @@
#ifdef USE_GUI
#include <qapplication.h>
#include "mainwindow.h"
-#include <miav.h>
+#include "miav.h"
#endif /* USE_GUI */
+#include "miav_config.h"
+
#include <stdio.h>
enum {
@@ -103,6 +105,9 @@ int server(int argc, char *argv[]) {
int main(int argc, char *argv[])
{
+ Error conferr;
+ config = new MiavConfig(ETC"/miav.conf", &conferr);
+
int mode = MODE_GRAB;
if(argc < 2) {