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-daemon
Commits
e859631c
Commit
e859631c
authored
Sep 27, 2005
by
jpbl
Browse files
we use playtone now
parent
db7f1ae1
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/gui/official/PhoneLineButton.cpp
View file @
e859631c
...
...
@@ -23,7 +23,6 @@ PhoneLineButton::PhoneLineButton(const QPixmap &released,
void
PhoneLineButton
::
suspend
()
{
_debug
(
"Swapping started.
\n
"
);
if
(
isPressed
())
{
mFace
=
1
;
}
...
...
@@ -45,7 +44,6 @@ PhoneLineButton::swap()
void
PhoneLineButton
::
press
()
{
_debug
(
"Pressed"
);
mTimer
->
stop
();
JPushButton
::
press
();
}
...
...
src/gui/official/PhoneLineManagerImpl.cpp
View file @
e859631c
...
...
@@ -125,7 +125,7 @@ PhoneLineManagerImpl::selectLine(unsigned int line)
PhoneLineLocker
guard
(
selectedLine
);
selectedLine
->
select
();
if
(
selectedLine
->
isAvailable
())
{
mSession
.
send
Tone
();
mSession
.
play
Tone
();
}
}
}
...
...
src/gui/official/SFLPhoneApp.cpp
View file @
e859631c
...
...
@@ -14,9 +14,10 @@ SFLPhoneApp::SFLPhoneApp(int argc, char **argv)
,
mAccount
(
mSession
.
getDefaultAccount
())
{
PhoneLineManager
::
instance
().
setNbLines
(
NB_PHONELINES
);
Requester
::
instance
().
registerObject
<
Request
>
(
std
::
string
(
"
send
tone"
));
Requester
::
instance
().
registerObject
<
Request
>
(
std
::
string
(
"
play
tone"
));
Requester
::
instance
().
registerObject
<
Request
>
(
std
::
string
(
"playdtmf"
));
Requester
::
instance
().
registerObject
<
CallRelatedRequest
>
(
std
::
string
(
"senddtmf"
));
Requester
::
instance
().
registerObject
<
CallRelatedRequest
>
(
std
::
string
(
"playdtmf"
));
Requester
::
instance
().
registerObject
<
CallRelatedRequest
>
(
std
::
string
(
"call"
));
Requester
::
instance
().
registerObject
<
CallRelatedRequest
>
(
std
::
string
(
"hold"
));
Requester
::
instance
().
registerObject
<
CallRelatedRequest
>
(
std
::
string
(
"unhold"
));
...
...
src/gui/official/Session.cpp
View file @
e859631c
...
...
@@ -44,9 +44,9 @@ Session::id() const
}
std
::
string
Session
::
send
Tone
()
const
Session
::
play
Tone
()
const
{
return
Requester
::
instance
().
send
(
mId
,
"
send
tone"
,
std
::
list
<
std
::
string
>
());
return
Requester
::
instance
().
send
(
mId
,
"
play
tone"
,
std
::
list
<
std
::
string
>
());
}
std
::
string
...
...
src/gui/official/Session.hpp
View file @
e859631c
...
...
@@ -48,7 +48,7 @@ class Session
Call
createCall
()
const
;
std
::
string
id
()
const
;
std
::
string
send
Tone
()
const
;
std
::
string
play
Tone
()
const
;
private:
std
::
string
mId
;
...
...
Write
Preview
Markdown
is supported
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