From a1905a6937bf6e8855660410ba3f7bab9f415449 Mon Sep 17 00:00:00 2001 From: Zdenek Prikryl Date: Thu, 11 Jun 2009 13:05:04 +0200 Subject: added new options to AT, which defines what communication platform will be used --- src/Daemon/CrashWatcher.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Daemon/CrashWatcher.cpp') diff --git a/src/Daemon/CrashWatcher.cpp b/src/Daemon/CrashWatcher.cpp index 9dd4232..97d03b5 100644 --- a/src/Daemon/CrashWatcher.cpp +++ b/src/Daemon/CrashWatcher.cpp @@ -381,13 +381,13 @@ CCrashWatcher::CCrashWatcher(const std::string& pPath) SetUpMW(); SetUpCron(); FindNewDumps(pPath); -#ifdef HAVE_DBUS +#ifdef ENABLE_DBUS m_pCommLayer = new CCommLayerServerDBus(); -#elif HAVE_SOCKET +#elif ENABLE_SOCKET m_pCommLayer = new CCommLayerServerSocket(); #endif - m_pCommLayer = new CCommLayerServerDBus(); -// m_pCommLayer = new CCommLayerServerSocket(); +// m_pCommLayer = new CCommLayerServerDBus(); +// m_pCommLayer = new CCommLayerServerSocket(); m_pCommLayer->Attach(this); if((m_nFd = inotify_init()) == -1) -- cgit