From 430524810e67d3c223a2ab819f45b882b419c45d Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 14 Jun 2005 12:29:40 +0000 Subject: Incorporated the use of the Info object everywhere... also using the log functionality. --- src/miav.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/miav.cc') diff --git a/src/miav.cc b/src/miav.cc index 188b1d7..0f2feb3 100644 --- a/src/miav.cc +++ b/src/miav.cc @@ -31,6 +31,9 @@ /* * $Log$ + * Revision 1.14 2005/06/14 12:29:40 deva + * Incorporated the use of the Info object everywhere... also using the log functionality. + * * Revision 1.13 2005/06/09 11:00:03 deva * Added daemon code, and cleaned up using -Wall and -Werror * @@ -94,7 +97,8 @@ int grab(int argc, char *argv[]) { QApplication miav_grab( argc, argv ); - InfoGui info(&miav_grab, NULL); + MiavConfig cfg(ETC"/miav.conf", NULL); + InfoGui info(&miav_grab, NULL, &cfg); config = new MiavConfig(ETC"/miav.conf", &info); InfoEventHandler *eventhandler = new InfoEventHandler( ); @@ -121,11 +125,9 @@ int grab(int argc, char *argv[]) { */ int server(int argc, char *argv[]) { - InfoConsole info; - MiavDaemon daemon; - MiavConfig cfg(ETC"/miav.conf", &info); + MiavConfig cfg(ETC"/miav.conf", NULL); int uid = cfg.readInt("server_uid"); int gid = cfg.readInt("server_gid"); -- cgit v1.2.3