Kaydet (Commit) db963066 authored tarafından Matúš Kukan's avatar Matúš Kukan

tubes: do not include telepathy-glib.h in public headers

Change-Id: Ib2c88f2f1fc1c9ebffbbdc9896045c3d1e5b719c
üst abeb02c0
...@@ -39,6 +39,8 @@ ...@@ -39,6 +39,8 @@
#include <vcl/dialog.hxx> #include <vcl/dialog.hxx>
#include <svx/simptabl.hxx> #include <svx/simptabl.hxx>
#include <telepathy-glib/telepathy-glib.h>
#define CONTACTS_DLG #define CONTACTS_DLG
#ifdef CONTACTS_DLG #ifdef CONTACTS_DLG
......
...@@ -32,11 +32,14 @@ ...@@ -32,11 +32,14 @@
#include <sal/config.h> #include <sal/config.h>
#include "tubes/tubesdllapi.h" #include "tubes/tubesdllapi.h"
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <telepathy-glib/telepathy-glib.h>
#include <tubes/warnings_guard_boost_signals2.hpp> #include <tubes/warnings_guard_boost_signals2.hpp>
class TeleManager; class TeleManager;
class TeleConferenceImpl; class TeleConferenceImpl;
typedef struct _TpAccount TpAccount;
typedef struct _TpContact TpContact;
typedef struct _TpDBusTubeChannel TpDBusTubeChannel;
typedef struct _GDBusConnection GDBusConnection;
/** Conference setup by TeleManager */ /** Conference setup by TeleManager */
class TeleConference class TeleConference
......
...@@ -32,10 +32,12 @@ ...@@ -32,10 +32,12 @@
#include <utility> #include <utility>
#include <vector> #include <vector>
#include <telepathy-glib/telepathy-glib.h>
#include "tubes/tubesdllapi.h" #include "tubes/tubesdllapi.h"
typedef struct _TpAccount TpAccount;
typedef struct _TpContact TpContact;
typedef struct _TpAccountManager TpAccountManager;
typedef ::std::pair< TpAccount *, TpContact * > AccountContactPair; typedef ::std::pair< TpAccount *, TpContact * > AccountContactPair;
typedef ::std::vector< AccountContactPair > AccountContactPairV; typedef ::std::vector< AccountContactPair > AccountContactPairV;
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
#include <salhelper/thread.hxx> #include <salhelper/thread.hxx>
#include <rtl/ref.hxx> #include <rtl/ref.hxx>
#include <tools/link.hxx> #include <tools/link.hxx>
#include <telepathy-glib/telepathy-glib.h>
// For testing purposes, we might need more in future. // For testing purposes, we might need more in future.
#define LIBO_TUBES_DBUS_INTERFACE "org.libreoffice.calc" #define LIBO_TUBES_DBUS_INTERFACE "org.libreoffice.calc"
...@@ -46,6 +45,10 @@ ...@@ -46,6 +45,10 @@
namespace osl { class Mutex; } namespace osl { class Mutex; }
class TeleManagerImpl; class TeleManagerImpl;
typedef struct _TpAccount TpAccount;
typedef struct _TpContact TpContact;
typedef struct _GMainLoop GMainLoop;
typedef struct _GMainContext GMainContext;
/** Interface to Telepathy DBus Tubes. /** Interface to Telepathy DBus Tubes.
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include <tubes/constants.h> #include <tubes/constants.h>
#include <tubes/file-transfer-helper.h> #include <tubes/file-transfer-helper.h>
#include <telepathy-glib/telepathy-glib.h>
#include <queue> #include <queue>
#if defined SAL_LOG_INFO #if defined SAL_LOG_INFO
......
...@@ -39,6 +39,8 @@ ...@@ -39,6 +39,8 @@
#include <osl/mutex.hxx> #include <osl/mutex.hxx>
#include <rtl/strbuf.hxx> #include <rtl/strbuf.hxx>
#include <rtl/uuid.h> #include <rtl/uuid.h>
#include <telepathy-glib/telepathy-glib.h>
#include <map> #include <map>
namespace css = ::com::sun::star; namespace css = ::com::sun::star;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment