projects
/
tpsession
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
channelDestroyed hadling, TPSESSION_DEBUG env
[tpsession]
/
tpsession-0.1
/
debian
/
tmp
/
usr
/
include
/
telepathy-1.0
/
tpsession
/
tpsessionaccount.h
diff --git
a/tpsession-0.1/debian/tmp/usr/include/telepathy-1.0/tpsession/tpsessionaccount.h
b/tpsession-0.1/debian/tmp/usr/include/telepathy-1.0/tpsession/tpsessionaccount.h
index
ccb84fa
..
7f9fe4b
100644
(file)
--- a/
tpsession-0.1/debian/tmp/usr/include/telepathy-1.0/tpsession/tpsessionaccount.h
+++ b/
tpsession-0.1/debian/tmp/usr/include/telepathy-1.0/tpsession/tpsessionaccount.h
@@
-37,6
+37,9
@@
#include <QString>
#include <QVector>
#include <QString>
#include <QVector>
+class TpSessionAccount;
+
+#include "tpsession.h"
#include "tpsessionchannel.h"
class TpSessionAccount:public QObject
#include "tpsessionchannel.h"
class TpSessionAccount:public QObject
@@
-45,7
+48,7
@@
class TpSessionAccount:public QObject
Q_OBJECT
public:
TpSessionAccount(Tp::AccountManagerPtr am,const QString &objectPath);
Q_OBJECT
public:
TpSessionAccount(Tp::AccountManagerPtr am,const QString &objectPath);
- void makeContactFromAddress(QString address);
+ bool makeContactFromAddress(QString address);
void sendMessageToAddress(QString address,QString message);
Tp::ContactPtr getContactFromAddress(QString address);
void addOutgoingChannel(const Tp::ContactPtr &contact);
void sendMessageToAddress(QString address,QString message);
Tp::ContactPtr getContactFromAddress(QString address);
void addOutgoingChannel(const Tp::ContactPtr &contact);
@@
-54,15
+57,20
@@
public:
signals:
void accountReady(TpSessionAccount *);
void channelReady(TpSessionAccount *);
signals:
void accountReady(TpSessionAccount *);
void channelReady(TpSessionAccount *);
+ void messageQueued(TpSessionAccount *,bool);
void messageReceived(const Tp::ReceivedMessage &,TpSessionAccount *);
void messageReceived(const Tp::ReceivedMessage &,TpSessionAccount *);
+ void messageSent(const Tp::Message &,TpSessionAccount *);
+ void newChannel(TpSessionAccount *,QString,QString,const Tp::ChannelDetails &);
+ void contactRetrieved(Tp::ContactPtr,bool,bool);
private slots:
void onReady(Tp::PendingOperation *op);
void onOutgoingChannelReady(TpSessionChannel *ch);
private slots:
void onReady(Tp::PendingOperation *op);
void onOutgoingChannelReady(TpSessionChannel *ch);
+ void onChannelDestroyed(TpSessionChannel *ch);
void onContactsConnectionReady(Tp::PendingOperation *op);
void onNewContactRetrieved(Tp::PendingOperation *op);
void onMessageReceived(const Tp::ReceivedMessage &,TpSessionChannel *);
void onContactsConnectionReady(Tp::PendingOperation *op);
void onNewContactRetrieved(Tp::PendingOperation *op);
void onMessageReceived(const Tp::ReceivedMessage &,TpSessionChannel *);
- void onMessageSent(const Tp::Message &,Tp::MessageSendingFlags, const QString &);
+ void onMessageSent(const Tp::Message &,Tp::MessageSendingFlags, const QString &,TpSessionChannel *);
void onNewChannels(const Tp::ChannelDetailsList&);
public:
bool ready;
void onNewChannels(const Tp::ChannelDetailsList&);
public:
bool ready;