Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-libclient
Commits
791be6c8
Commit
791be6c8
authored
Nov 11, 2019
by
Andreas Traczyk
Committed by
Kateryna Kostiuk
Nov 11, 2019
Browse files
callmanager: remove unused signals
Change-Id: Idd9708292a5a5fa9027116728407c36721e1d33e
parent
0251b1f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/qtwrapper/callmanager_wrap.h
View file @
791be6c8
...
@@ -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
);
...
...
test/mocks/callmanager_mock.h
View file @
791be6c8
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment