Commit c2efb388 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(app): fixes & refactoring

parent 32f09dd0
......@@ -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_
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment