Commit 791be6c8 authored by Andreas Traczyk's avatar Andreas Traczyk Committed by Kateryna Kostiuk
Browse files

callmanager: remove unused signals

Change-Id: Idd9708292a5a5fa9027116728407c36721e1d33e
parent 0251b1f0
...@@ -108,11 +108,6 @@ public: ...@@ -108,11 +108,6 @@ public:
LOG_DRING_SIGNAL("conferenceRemoved",QString(confID.c_str())); LOG_DRING_SIGNAL("conferenceRemoved",QString(confID.c_str()));
Q_EMIT conferenceRemoved(QString(confID.c_str())); Q_EMIT conferenceRemoved(QString(confID.c_str()));
}), }),
exportable_callback<CallSignal::NewCallCreated>(
[this] (const std::string &accountID, const std::string &callID, const std::string &to) {
LOG_DRING_SIGNAL3("newCallCreated",QString(accountID.c_str()), QString(callID.c_str()), QString(to.c_str()));
Q_EMIT newCallCreated(QString(accountID.c_str()), QString(callID.c_str()), QString(to.c_str()));
}),
exportable_callback<CallSignal::RecordingStateChanged>( exportable_callback<CallSignal::RecordingStateChanged>(
[this] (const std::string &callID, bool recordingState) { [this] (const std::string &callID, bool recordingState) {
LOG_DRING_SIGNAL2("recordingStateChanged",QString(callID.c_str()), recordingState); LOG_DRING_SIGNAL2("recordingStateChanged",QString(callID.c_str()), recordingState);
...@@ -392,7 +387,6 @@ Q_SIGNALS: // SIGNALS ...@@ -392,7 +387,6 @@ Q_SIGNALS: // SIGNALS
void conferenceChanged(const QString &confID, const QString &state); void conferenceChanged(const QString &confID, const QString &state);
void updatePlaybackScale(const QString &filepath, int position, int size); void updatePlaybackScale(const QString &filepath, int position, int size);
void conferenceRemoved(const QString &confID); void conferenceRemoved(const QString &confID);
void newCallCreated(const QString &accountID, const QString &callID, const QString &to);
void recordingStateChanged(const QString &callID, bool recordingState); void recordingStateChanged(const QString &callID, bool recordingState);
void onRtcpReportReceived(const QString &callID, MapStringInt report); void onRtcpReportReceived(const QString &callID, MapStringInt report);
void audioMuted(const QString &callID, bool state); void audioMuted(const QString &callID, bool state);
......
...@@ -193,14 +193,14 @@ public Q_SLOTS: // METHODS ...@@ -193,14 +193,14 @@ public Q_SLOTS: // METHODS
QString placeCall(const QString &accountID, const QString &to) QString placeCall(const QString &accountID, const QString &to)
{ {
emit newCallCreated(accountID, to, to); Q_UNUSED(accountID, to)
return to; return to;
} }
#ifdef ENABLE_LIBWRAP #ifdef ENABLE_LIBWRAP
QString placeCall(const QString &accountID, const QString &to, const std::map<std::string, std::string>& VolatileCallDetails) QString placeCall(const QString &accountID, const QString &to, const std::map<std::string, std::string>& VolatileCallDetails)
{ {
emit newCallCreated(accountID, to, to); Q_UNUSED(accountID, to, VolatileCallDetails)
return to; return to;
} }
#else // dbus #else // dbus
...@@ -211,7 +211,6 @@ public Q_SLOTS: // METHODS ...@@ -211,7 +211,6 @@ public Q_SLOTS: // METHODS
} }
#endif // ENABLE_LIBWRAP #endif // ENABLE_LIBWRAP
void playDTMF(const QString &key) void playDTMF(const QString &key)
{ {
Q_UNUSED(key) Q_UNUSED(key)
...@@ -310,7 +309,6 @@ Q_SIGNALS: // SIGNALS ...@@ -310,7 +309,6 @@ Q_SIGNALS: // SIGNALS
void conferenceChanged(const QString &confID, const QString &state); void conferenceChanged(const QString &confID, const QString &state);
void updatePlaybackScale(const QString &filepath, int position, int size); void updatePlaybackScale(const QString &filepath, int position, int size);
void conferenceRemoved(const QString &confID); void conferenceRemoved(const QString &confID);
void newCallCreated(const QString &accountID, const QString &callID, const QString &to);
void recordingStateChanged(const QString &callID, bool recordingState); void recordingStateChanged(const QString &callID, bool recordingState);
void onRtcpReportReceived(const QString &callID, MapStringInt report); void onRtcpReportReceived(const QString &callID, MapStringInt report);
void audioMuted(const QString &callID, bool state); void audioMuted(const QString &callID, bool state);
......
Supports Markdown
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