diff options
author | deva <deva> | 2005-06-14 12:29:40 +0000 |
---|---|---|
committer | deva <deva> | 2005-06-14 12:29:40 +0000 |
commit | 430524810e67d3c223a2ab819f45b882b419c45d (patch) | |
tree | 0abb4b2dd3dabc414c755c30e52d0b5022ee8670 /src/miav.cc | |
parent | 0836a6e06f86e366017da3b2b2c132b3a4f2c877 (diff) |
Incorporated the use of the Info object everywhere... also using the log functionality.
Diffstat (limited to 'src/miav.cc')
-rw-r--r-- | src/miav.cc | 10 |
1 files changed, 6 insertions, 4 deletions
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"); |