Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
c2efb388
Commit
c2efb388
authored
Jan 11, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(app): fixes & refactoring
parent
32f09dd0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
ChatModel.cpp
tests/src/components/chat/ChatModel.cpp
+1
-1
CoreHandlers.hpp
tests/src/components/core/CoreHandlers.hpp
+4
-4
No files found.
tests/src/components/chat/ChatModel.cpp
View file @
c2efb388
...
...
@@ -21,6 +21,7 @@ public:
~
MessageHandlers
()
=
default
;
private:
void
onFileTransferRecv
(
const
shared_ptr
<
linphone
::
ChatMessage
>
&
message
,
const
shared_ptr
<
linphone
::
Content
>
&
content
,
...
...
@@ -65,7 +66,6 @@ public:
emit
chat
.
dataChanged
(
chat
.
index
(
row
,
0
),
chat
.
index
(
row
,
0
));
}
private:
ChatModel
*
m_chat_model
;
};
...
...
tests/src/components/core/CoreHandlers.hpp
View file @
c2efb388
...
...
@@ -11,7 +11,10 @@ class CoreHandlers :
public
linphone
::
CoreListener
{
Q_OBJECT
;
public:
signals:
void
receivedMessage
(
const
std
::
shared_ptr
<
linphone
::
ChatMessage
>
&
message
);
private:
void
onAuthenticationRequested
(
const
std
::
shared_ptr
<
linphone
::
Core
>
&
core
,
const
std
::
shared_ptr
<
linphone
::
AuthInfo
>
&
auth_info
,
...
...
@@ -30,9 +33,6 @@ public:
const
std
::
shared_ptr
<
linphone
::
ChatRoom
>
&
room
,
const
std
::
shared_ptr
<
linphone
::
ChatMessage
>
&
message
)
override
;
signals:
void
receivedMessage
(
const
std
::
shared_ptr
<
linphone
::
ChatMessage
>
&
message
);
};
#endif // CORE_HANDLERS_H_
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