message queued tested
[tpsession] / tpsession-0.1 / tpsession / tpsession.cpp
index 1e46b7b..20a69cd 100644 (file)
@@ -101,6 +101,7 @@ TpSession* TpSession::instance(bool synchronous)
 
 void TpSession::onAMReady(Tp::PendingOperation *op)
 {
+ Q_UNUSED(op);
   // qDebug() << "TpSession::onAMReady";
  TpSessionAccount *tpacc;
 
@@ -124,7 +125,7 @@ void TpSession::onAccountCreated(const QString &path)
 
 void TpSession::onAccountReady(TpSessionAccount *tpacc)
 {
-  qDebug() << "TpSession::onAccountReady:Account " << tpacc->acc->cmName() << "is Ready sync=" << sync << "waiting:" << reqCm;
+  //qDebug() << "TpSession::onAccountReady:Account " << tpacc->acc->cmName() << "is Ready sync=" << sync << "waiting:" << reqCm;
   connect(tpacc,SIGNAL(messageReceived(const Tp::ReceivedMessage &,TpSessionAccount *)),
                   SLOT(onMessageReceived(const Tp::ReceivedMessage &,TpSessionAccount *)));
   if(!reqCm.isEmpty() && tpacc->acc->cmName()==reqCm) {
@@ -201,8 +202,7 @@ void TpSession::createObserver()
     bool registered = registrar->registerClient(
       Tp::AbstractClientPtr::dynamicCast(Tp::SharedPtr<TpSessionObserver>(observer)),
       "TpSessionChannelObserver");
-
-    //        qDebug() << "TpSession::createObserver" << (registered ? "started" : "failed");
+    qDebug() << "TpSession::createObserver" << (registered ? "started" : "failed");
 
 }
 
@@ -212,7 +212,9 @@ void TpSession::createChannelListener(const QString &channelType,
                                    const Tp::AccountPtr &account,
                                    const Tp::ChannelPtr &channel)
 {
-      qDebug() << "TpSession::createChannelListener";
+    Q_UNUSED(context);
+    Q_UNUSED(account);
+    qDebug() << "TpSession::createChannelListener";
 
     QString channelObjectPath = channel->objectPath();