summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-07-26 12:17:09 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-07-26 15:59:21 +0200
commitb70c2d352ddb6350ec366b055b28b3d892b54b1c (patch)
treebfe216825573ae62dbf81b4e6ef8d3bdd2270cbf /desktop
parentf86cc45d8795073e61d39edc469a4876085941b8 (diff)
tubes: avoid unnecessary re-building; move the include into source file
Change-Id: Ib45a5fab8d4dc118ac0ae5282d47f46f9f86edc2
Diffstat (limited to 'desktop')
-rw-r--r--desktop/inc/app.hxx3
-rw-r--r--desktop/source/app/app.cxx4
2 files changed, 6 insertions, 1 deletions
diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx
index 09f0a4d4e4f1..c31b953170ba 100644
--- a/desktop/inc/app.hxx
+++ b/desktop/inc/app.hxx
@@ -41,8 +41,9 @@
#include <com/sun/star/task/XStatusIndicator.hpp>
#include <com/sun/star/uno/Reference.h>
#include <osl/mutex.hxx>
+
#ifdef ENABLE_TELEPATHY
-#include <tubes/manager.hxx>
+class TeleManager;
#endif
using namespace com::sun::star::task;
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 6d5ea30b08c2..4e76579c3cd4 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -102,6 +102,10 @@
#include "langselect.hxx"
+#ifdef ENABLE_TELEPATHY
+#include <tubes/manager.hxx>
+#endif
+
#if defined MACOSX
#include <errno.h>
#include <sys/wait.h>