Commit aae8ef1d authored by Guillaume Roguez's avatar Guillaume Roguez

manager: remove over-inclusion in header file

Decrease the manager.h file dependency map by removing
uneeded inclusion and small code refactoring to nicely decoupling
classes.

Change-Id: Ibde69e0a088e7e2fbd842e39301db5b3a4bc8c28
Reviewed-by: Andreas Traczyk's avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
parent 2c383dbe
......@@ -77,6 +77,7 @@ using random_device = dht::crypto::random_device;
#include "libav_utils.h"
#include "video/sinkclient.h"
#include "audio/tonecontrol.h"
#include <cerrno>
#include <ctime>
......
......@@ -42,10 +42,6 @@
#include <atomic>
#include <functional>
#include "conference.h"
#include "audio/audiolayer.h"
#include "audio/tonecontrol.h"
namespace ring {
namespace video {
......@@ -53,6 +49,8 @@ class SinkClient;
}
class RingBufferPool;
class VideoManager;
class Conference;
class AudioLoop;
/** Manager (controller) of Ring daemon */
class Manager {
......
......@@ -28,6 +28,7 @@
#include "audio/ringbufferpool.h"
#include "audio/ringbuffer.h"
#include "audio/resampler.h"
#include "audio/audioloop.h"
#include <thread>
#include <atomic>
......
......@@ -25,6 +25,7 @@
#include "manager.h"
#include "audio/ringbufferpool.h"
#include "audio/resampler.h"
#include "tonecontrol.h"
#include "client/ring_signal.h"
#include <ctime>
......
......@@ -25,6 +25,7 @@
#include "audio/resampler.h"
#include "audio/ringbufferpool.h"
#include "audio/ringbuffer.h"
#include "audio/audioloop.h"
#include <portaudio.h>
#include <algorithm>
......
......@@ -31,6 +31,7 @@
#include "logger.h"
#include "string_utils.h"
#include "call.h"
#include "conference.h"
#include "account_const.h"
......
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