Commit 8327cdab authored by Vittorio Giovara's avatar Vittorio Giovara Committed by Tristan Matthews

client: do not compile undefined types

Change-Id: I6c839bb4689f461b2ff5954e13af0fa7fe1f215c
Refs: #46447
parent b7b6eb36
......@@ -44,8 +44,10 @@ Client::Client() : callManager_(new CallManager)
#ifdef SFL_PRESENCE
, presenceManager_(new PresenceManager)
#endif
#if HAVE_DBUS
, instanceManager_(0)
, dispatcher_(0)
#endif
#ifdef SFL_VIDEO
, videoControls_(0)
#endif
......@@ -62,8 +64,10 @@ Client::~Client()
#ifdef SFL_VIDEO
delete videoControls_;
#endif
#if HAVE_DBUS
delete dispatcher_;
delete instanceManager_;
#endif
delete configurationManager_;
#ifdef SFL_PRESENCE
delete presenceManager_;
......
......@@ -49,9 +49,11 @@ class PresenceManager;
class VideoControls;
#endif
#if HAVE_DBUS
namespace DBus {
class BusDispatcher;
}
#endif
class Client {
public:
......@@ -80,8 +82,10 @@ class Client {
#ifdef SFL_PRESENCE
PresenceManager* presenceManager_;
#endif
#if HAVE_DBUS
Instance* instanceManager_;
DBus::BusDispatcher* dispatcher_;
#endif
#ifdef SFL_VIDEO
VideoControls *videoControls_;
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment