[Telepathy-commits] [telepathy-qt4/master] Weed out includes in OptionalInterfaceFactory

Olli Salli olli.salli at collabora.co.uk
Thu Jan 29 11:46:43 PST 2009


---
 TelepathyQt4/Client/optional-interface-factory.cpp |    2 ++
 TelepathyQt4/Client/optional-interface-factory.h   |    5 +++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/TelepathyQt4/Client/optional-interface-factory.cpp b/TelepathyQt4/Client/optional-interface-factory.cpp
index abb1ccc..1326701 100644
--- a/TelepathyQt4/Client/optional-interface-factory.cpp
+++ b/TelepathyQt4/Client/optional-interface-factory.cpp
@@ -21,6 +21,8 @@
 
 #include <TelepathyQt4/Client/OptionalInterfaceFactory>
 
+#include <TelepathyQt4/Client/AbstractInterface>
+
 #include "TelepathyQt4/debug-internal.h"
 
 #include <QMap>
diff --git a/TelepathyQt4/Client/optional-interface-factory.h b/TelepathyQt4/Client/optional-interface-factory.h
index 29246a1..8d79efc 100644
--- a/TelepathyQt4/Client/optional-interface-factory.h
+++ b/TelepathyQt4/Client/optional-interface-factory.h
@@ -38,14 +38,15 @@
  */
 
 #include <QtGlobal>
-
-#include <TelepathyQt4/Client/AbstractInterface>
+#include <QObject>
 
 namespace Telepathy
 {
 namespace Client
 {
 
+class AbstractInterface;
+
 class OptionalInterfaceCache
 {
     Q_DISABLE_COPY(OptionalInterfaceCache)
-- 
1.5.6.5




More information about the telepathy-commits mailing list