23 #ifndef _TelepathyQt_contact_messenger_h_HEADER_GUARD_    24 #define _TelepathyQt_contact_messenger_h_HEADER_GUARD_    26 #ifndef IN_TP_QT_HEADER    27 #error IN_TP_QT_HEADER    30 #include <TelepathyQt/Constants>    31 #include <TelepathyQt/Message>    32 #include <TelepathyQt/Types>    37 class PendingSendMessage;
    38 class MessageContentPartList;
    46     static ContactMessengerPtr create(
const AccountPtr &account, 
const ContactPtr &contact);
    47     static ContactMessengerPtr create(
const AccountPtr &account, 
const QString &contactIdentifier);
    51     AccountPtr account() 
const;
    52     QString contactIdentifier() 
const;
    54     QList<TextChannelPtr> textChats() 
const;
    64             const QString &sentMessageToken, 
const Tp::TextChannelPtr &channel);
    65     void messageReceived(
const Tp::ReceivedMessage &message, 
const Tp::TextChannelPtr &channel);
    69             const QString &contactIdentifier);
    72     friend struct Private;
 The PendingSendMessage class represents the parameters of and the reply to an asynchronous message se...
Definition: pending-send-message.h:41
The RefCounted class is a base class for shared objects used by SharedPtr. 
Definition: shared-ptr.h:42
The ContactMessenger class provides an easy way to send text messages to a contact and also track sen...
Definition: contact-messenger.h:40
The ReceivedMessage class is a subclass of Message, representing a received message only...
Definition: message.h:97
The Message class represents a Telepathy message in a TextChannel. 
Definition: message.h:44
QFlags< MessageSendingFlag > MessageSendingFlags
Definition: build/TelepathyQt/_gen/constants.h:1166
Definition: abstract-adaptor.cpp:31
Definition: build/TelepathyQt/_gen/constants.h:2871
ChannelTextMessageType
Definition: build/TelepathyQt/_gen/constants.h:2866
The MessageContentPartList class represents a list of MessageContentPart. 
Definition: message-content-part.h:57