feat(app): fixes & refactoring

This commit is contained in:
Ronan Abhamon 2017-01-11 14:38:15 +01:00
parent 32f09dd0dd
commit c2efb388fc
2 changed files with 5 additions and 5 deletions

View file

@ -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;
};

View file

@ -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_