[Telepathy-commits] [telepathy-qt4/master] connection.h: turn inclusions into forward declarations where possible

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Jan 5 10:23:24 PST 2009


---
 TelepathyQt4/Client/connection.h |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/TelepathyQt4/Client/connection.h b/TelepathyQt4/Client/connection.h
index 4947e96..2ce3d5d 100644
--- a/TelepathyQt4/Client/connection.h
+++ b/TelepathyQt4/Client/connection.h
@@ -47,21 +47,22 @@
 
 namespace Telepathy {
 namespace Client {
+class Channel;
 class Connection;
 class PendingChannel;
+class PendingOperation;
 }
 }
 
+class QDBusPendingCallWatcher;
+
 #include <TelepathyQt4/_gen/cli-connection.h>
 
-#include <TelepathyQt4/Client/Channel>
 #include <TelepathyQt4/Client/DBus>
 #include <TelepathyQt4/Client/DBusProxy>
 #include <TelepathyQt4/Client/OptionalInterfaceFactory>
-#include <TelepathyQt4/Client/PendingOperation>
 #include <TelepathyQt4/Constants>
 
-#include <QDBusPendingCallWatcher>
 #include <QStringList>
 
 namespace Telepathy
-- 
1.5.6.5




More information about the Telepathy-commits mailing list