mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 14:44:01 +00:00
feat(app): fixes & refactoring
This commit is contained in:
parent
32f09dd0dd
commit
c2efb388fc
2 changed files with 5 additions and 5 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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_
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue