diff --git a/src/manager.cpp b/src/manager.cpp index 8eb3da644b98d6dc81d3e300878b3de9f8003fd8..b2e533a6c2e794d84e9a72d5fae45d326d431e27 100644 --- a/src/manager.cpp +++ b/src/manager.cpp @@ -247,7 +247,6 @@ Manager::Manager() : #ifdef RING_VIDEO , videoPreferences() #endif - , hasTriedToRegister_(false) , toneCtrl_(preferences) , currentCallMutex_(), dtmfKey_(), dtmfBuf_(0, AudioFormat::MONO()) , audioLayerMutex_() diff --git a/src/manager.h b/src/manager.h index 88f24910841c0ef5730985ee2057fcff8683f7c2..65afd431860d302ed37c0c8259c14fd5bb82e98b 100644 --- a/src/manager.h +++ b/src/manager.h @@ -53,32 +53,19 @@ namespace ring { -namespace Conf { -class YamlParser; -class YamlEmitter; -} - namespace video { class SinkClient; } class PluginManager; -class AudioFile; class DTMF; class RingBufferPool; class VideoManager; -/** To send multiple string */ -typedef std::list<std::string> TokenList; - /** To store conference objects by conference ids */ typedef std::map<std::string, std::shared_ptr<Conference> > ConferenceMap; typedef std::set<std::string> CallIDSet; -static const char * const default_conf = "conf"; - -typedef std::set<std::string> CallIDSet; - /** Manager (controller) of Ring daemon */ class Manager { private: @@ -334,11 +321,6 @@ class Manager { */ void saveConfig(); - /** - * @return true if we tried to register once - */ - bool hasTriedToRegister_; - /** * Play a ringtone */ @@ -650,19 +632,6 @@ class Manager { */ int getHistoryLimit() const; - /** - * Configure the start-up option - * @return int 1 if Ring should start in the system tray - * 0 otherwise - */ - int isStartHidden(); - - /** - * Configure the start-up option - * At startup, Ring can be displayed or start hidden in the system tray - */ - void startHidden(); - /** * Get the audio manager * @return int The audio manager @@ -787,10 +756,6 @@ class Manager { bool parseConfiguration(); - // Set the ringtone or recorded call to be played - void updateAudioFile(const std::string &file, int sampleRate); - - /** * Process remaining participant given a conference and the current call id. * Mainly called when a participant is detached or hagned up