Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jami-libclient
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
savoirfairelinux
jami-libclient
Commits
7fee6550
Unverified
Commit
7fee6550
authored
May 19, 2021
by
Trevor Tabah
Committed by
Sébastien Blin
May 21, 2021
Browse files
Options
Downloads
Patches
Plain Diff
lrc: link to monitor API
Gitlab:
jami-client-qt#406
Change-Id: Ib51b86de3da5a2cfc587191490d2ae5898614528
parent
4d51a872
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/api/lrc.h
+5
-0
5 additions, 0 deletions
src/api/lrc.h
src/callbackshandler.cpp
+7
-4
7 additions, 4 deletions
src/callbackshandler.cpp
src/lrc.cpp
+6
-0
6 additions, 0 deletions
src/lrc.cpp
src/qtwrapper/configurationmanager_wrap.h
+4
-2
4 additions, 2 deletions
src/qtwrapper/configurationmanager_wrap.h
with
22 additions
and
6 deletions
src/api/lrc.h
+
5
−
0
View file @
7fee6550
...
...
@@ -119,6 +119,11 @@ public:
*/
static
std
::
atomic_bool
holdConferences
;
/**
* Make monitor continous or discrete
*/
static
void
monitor
(
bool
continous
);
private
:
std
::
unique_ptr
<
LrcPimpl
>
lrcPimpl_
;
};
...
...
This diff is collapsed.
Click to expand it.
src/callbackshandler.cpp
+
7
−
4
View file @
7fee6550
...
...
@@ -239,6 +239,8 @@ CallbacksHandler::CallbacksHandler(const Lrc& parent)
this
,
&
CallbacksHandler
::
slotAudioMeterReceived
,
Qt
::
QueuedConnection
);
}
CallbacksHandler
::~
CallbacksHandler
()
{}
...
...
@@ -247,10 +249,11 @@ void
CallbacksHandler
::
subscribeToDebugReceived
()
{
connect
(
&
ConfigurationManager
::
instance
(),
&
ConfigurationManagerInterface
::
debugMessageReceive
d
,
&
ConfigurationManagerInterface
::
messageSen
d
,
this
,
&
CallbacksHandler
::
slotDebugMessageReceived
,
Qt
::
QueuedConnection
);
}
void
...
...
This diff is collapsed.
Click to expand it.
src/lrc.cpp
+
6
−
0
View file @
7fee6550
...
...
@@ -214,6 +214,12 @@ isFinished(const QString& callState)
return
false
;
}
void
Lrc
::
monitor
(
bool
continuous
)
{
ConfigurationManager
::
instance
().
monitor
(
continuous
);
}
LrcPimpl
::
LrcPimpl
(
Lrc
&
linked
,
MigrationCb
&
willMigrateCb
,
MigrationCb
&
didMigrateCb
)
:
linked
(
linked
)
,
behaviorController
(
std
::
make_unique
<
BehaviorController
>
())
...
...
This diff is collapsed.
Click to expand it.
src/qtwrapper/configurationmanager_wrap.h
+
4
−
2
View file @
7fee6550
...
...
@@ -221,7 +221,7 @@ public:
}),
exportable_callback
<
ConfigurationSignal
::
MessageSend
>
(
[
this
](
const
std
::
string
&
message
)
{
Q_EMIT
this
->
debugMessageReceive
d
(
QString
(
message
.
c_str
()));
Q_EMIT
this
->
messageSen
d
(
QString
(
message
.
c_str
()));
}),
exportable_callback
<
ConfigurationSignal
::
ComposingStatusChanged
>
(
[
this
](
const
std
::
string
&
account_id
,
const
std
::
string
&
from
,
int
status
)
{
...
...
@@ -517,6 +517,8 @@ public Q_SLOTS: // METHODS
void
registerAllAccounts
()
{
DRing
::
registerAllAccounts
();
}
void
monitor
(
bool
continuous
)
{
DRing
::
monitor
(
continuous
);
}
void
removeAccount
(
const
QString
&
accountID
)
{
DRing
::
removeAccount
(
accountID
.
toStdString
());
}
bool
changeAccountPassword
(
const
QString
&
id
,
...
...
@@ -889,7 +891,7 @@ Q_SIGNALS: // SIGNALS
void
accountProfileReceived
(
const
QString
&
accountId
,
const
QString
&
displayName
,
const
QString
&
userPhoto
);
void
debugMessageReceive
d
(
const
QString
&
message
);
void
messageSen
d
(
const
QString
&
message
);
void
composingStatusChanged
(
const
QString
&
accountId
,
const
QString
&
contactId
,
bool
isComposing
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment