Commit f5fd767c authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #26839: daemon: remove dead code

parent 40adb03f
......@@ -380,38 +380,6 @@ std::string ConfigurationManager::getAudioManager()
return Manager::instance().getAudioManager();
}
/*
void ConfigurationManager::setMailNotify()
{
Manager::instance().setMailNotify();
}
int32_t ConfigurationManager::getMailNotify()
{
return Manager::instance().getMailNotify();
}
std::map<std::string, int32_t> ConfigurationManager::getAddressbookSettings()
{
return Manager::instance().getAddressbookSettings();
}
void ConfigurationManager::setAddressbookSettings(const std::map<std::string, int32_t>& settings)
{
Manager::instance().setAddressbookSettings(settings);
}
std::vector<std::string> ConfigurationManager::getAddressbookList()
{
return Manager::instance().getAddressbookList();
}
void ConfigurationManager::setAddressbookList(const std::vector<std::string>& list)
{
Manager::instance().setAddressbookList(list);
}
*/
std::map<std::string, std::string> ConfigurationManager::getHookSettings()
{
return Manager::instance().hookPreference.toMap();
......
......@@ -108,14 +108,6 @@ class ConfigurationManager {
int32_t getHistoryLimit();
void clearHistory();
int32_t getMailNotify();
void setMailNotify();
std::map<std::string, int32_t> getAddressbookSettings();
void setAddressbookSettings(const std::map<std::string, int32_t>& settings);
std::vector< std::string > getAddressbookList();
void setAddressbookList(const std::vector< std::string >& list);
void setAccountsOrder(const std::string& order);
std::map<std::string, std::string> getHookSettings();
......
......@@ -115,12 +115,6 @@ public:
void setAudioManager(const std::string& api);
std::string getAudioManager();
/*void setMailNotify();
int32_t getMailNotify();
std::map<std::string, int32_t> getAddressbookSettings();
void setAddressbookSettings(const std::map<std::string, int32_t>& settings);
std::vector<std::string> getAddressbookList();
void setAddressbookList(const std::vector<std::string>& list);*/
std::map<std::string, std::string> getHookSettings();
void setHookSettings(const std::map<std::string, std::string>& settings);
void setAccountsOrder(const std::string& order);
......
......@@ -190,7 +190,6 @@ void ManagerImpl::init(const std::string &config_file)
history_.load(preferences.getHistoryLimit());
registerAccounts();
INFO("init ended");
}
void ManagerImpl::setPath(const std::string &path) {
......@@ -616,7 +615,6 @@ bool ManagerImpl::offHoldCall(const std::string& callId)
//THREAD=Main
bool ManagerImpl::transferCall(const std::string& callId, const std::string& to)
{
DEBUG("transferCall");
if (isConferenceParticipant(callId)) {
removeParticipant(callId);
} else if (not isConference(getCurrentCallId()))
......@@ -2924,9 +2922,8 @@ void ManagerImpl::saveHistory()
{
if (!history_.save())
ERROR("Could not save history!");
client_.getConfigurationManager()->historyChanged();
else
client_.getConfigurationManager()->historyChanged();
}
void ManagerImpl::clearHistory()
......
......@@ -645,32 +645,6 @@ class ManagerImpl {
*/
int getHistoryLimit() const;
/**
* Set the desktop mail notification level
*/
void setMailNotify();
/**
* Addressbook configuration
*/
std::map<std::string, int32_t> getAddressbookSettings() const;
/**
* Addressbook configuration
*/
void setAddressbookSettings(const std::map<std::string, int32_t>& settings);
/**
* Addressbook list
*/
void setAddressbookList(const std::vector< std::string >& list);
/**
* Addressbook list
*/
std::vector <std::string> getAddressbookList() const;
/**
* Configure the start-up option
* @return int 1 if SFLphone should start in the system tray
......
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