~phablet-team/messaging-framework/trunk_merged

« back to all changes in this revision

Viewing changes to include/messaging/qt/tp/connection.h

  • Committer: Tiago Salem Herrmann
  • Date: 2016-12-16 18:28:25 UTC
  • Revision ID: tiago.herrmann@canonical.com-20161216182825-2i4oawjr4xa9ezf3
allow plugins to disable network monitor and to set self user id

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
#include <memory>
34
34
 
 
35
#include <QMutex>
 
36
 
35
37
namespace messaging
36
38
{
37
39
// A handy fwd declaration
91
93
        ///
92
94
        /// Implemented from messaging::Connection::Observer.
93
95
        void on_status_changed(messaging::Connection::Status new_status, messaging::Connection::StatusChangedReason reason) override;
 
96
        
 
97
        void on_self_id_changed(const std::string &self_id) override;
94
98
 
95
99
        /// @brief on_message_without_chat_received called when received a messages that creates a new chat
96
100
        void on_message_without_chat_received(const Recipient::shared_ptr& recipient, const Message &message) override;
106
110
        Tp::SharedPtr<Connection> connection; ///< The managed connection instance.
107
111
    };
108
112
 
 
113
    void on_self_id_changed(const std::string &self_id) override;
109
114
    /// @brief on_message_without_chat_received implementation of messaging::Messaging::Observer method
110
115
    void on_message_without_chat_received(const Recipient::shared_ptr& recipient, const Message &message) override;
111
116