From 8151caca47dab696b190dbfe3aee2ecd635d6ecf Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 30 May 2012 11:34:17 +0200 Subject: [PATCH] Add single-include #error in all headers included from telepathy-glib(-dbus).h https://bugs.freedesktop.org/show_bug.cgi?id=49384 --- telepathy-glib/account-channel-request.h | 4 ++++ telepathy-glib/account-manager.h | 4 ++++ telepathy-glib/account-request.h | 4 ++++ telepathy-glib/account.h | 4 ++++ telepathy-glib/add-dispatch-operation-context.h | 4 ++++ telepathy-glib/automatic-client-factory.h | 4 ++++ telepathy-glib/automatic-proxy-factory.h | 4 ++++ telepathy-glib/base-call-channel.h | 4 ++++ telepathy-glib/base-call-content.h | 4 ++++ telepathy-glib/base-call-stream.h | 4 ++++ telepathy-glib/base-channel.h | 4 ++++ telepathy-glib/base-client.h | 4 ++++ telepathy-glib/base-connection-manager.h | 4 ++++ telepathy-glib/base-connection.h | 4 ++++ telepathy-glib/base-contact-list.h | 4 ++++ telepathy-glib/base-media-call-channel.h | 4 ++++ telepathy-glib/base-media-call-content.h | 4 ++++ telepathy-glib/base-media-call-stream.h | 4 ++++ telepathy-glib/base-password-channel.h | 4 ++++ telepathy-glib/base-protocol.h | 4 ++++ telepathy-glib/base-room-config.h | 4 ++++ telepathy-glib/basic-proxy-factory.h | 4 ++++ telepathy-glib/call-channel.h | 4 ++++ telepathy-glib/call-content-media-description.h | 4 ++++ telepathy-glib/call-content.h | 4 ++++ telepathy-glib/call-misc.h | 4 ++++ telepathy-glib/call-stream-endpoint.h | 4 ++++ telepathy-glib/call-stream.h | 4 ++++ telepathy-glib/capabilities.h | 4 ++++ telepathy-glib/channel-dispatch-operation.h | 4 ++++ telepathy-glib/channel-dispatcher.h | 4 ++++ telepathy-glib/channel-iface.h | 4 ++++ telepathy-glib/channel-manager.h | 4 ++++ telepathy-glib/channel-request.h | 4 ++++ telepathy-glib/channel.h | 4 ++++ telepathy-glib/client-channel-factory.h | 4 ++++ telepathy-glib/client-message.h | 4 ++++ telepathy-glib/client.h | 4 ++++ telepathy-glib/cm-message.h | 4 ++++ telepathy-glib/connection-contact-list.h | 4 ++++ telepathy-glib/connection-manager.h | 4 ++++ telepathy-glib/connection.h | 4 ++++ telepathy-glib/contact-operations.h | 4 ++++ telepathy-glib/contact-search-result.h | 4 ++++ telepathy-glib/contact-search.h | 4 ++++ telepathy-glib/contact.h | 4 ++++ telepathy-glib/contacts-mixin.h | 4 ++++ telepathy-glib/dbus-properties-mixin.h | 4 ++++ telepathy-glib/dbus-tube-channel.h | 4 ++++ telepathy-glib/dbus.h | 4 ++++ telepathy-glib/debug-client.h | 4 ++++ telepathy-glib/debug-message.h | 3 +++ telepathy-glib/debug-sender.h | 4 ++++ telepathy-glib/debug.h | 4 ++++ telepathy-glib/defs.h | 4 ++++ telepathy-glib/dtmf.h | 4 ++++ telepathy-glib/enums.h | 4 ++++ telepathy-glib/errors.h | 4 ++++ telepathy-glib/exportable-channel.h | 4 ++++ telepathy-glib/file-transfer-channel.h | 4 ++++ telepathy-glib/gnio-util.h | 4 ++++ telepathy-glib/group-mixin.h | 4 ++++ telepathy-glib/gtypes.h | 4 ++++ telepathy-glib/handle-channels-context.h | 4 ++++ telepathy-glib/handle-repo-dynamic.h | 4 ++++ telepathy-glib/handle-repo-static.h | 4 ++++ telepathy-glib/handle-repo.h | 4 ++++ telepathy-glib/handle.h | 4 ++++ telepathy-glib/heap.h | 4 ++++ telepathy-glib/interfaces.h | 4 ++++ telepathy-glib/intset.h | 4 ++++ telepathy-glib/media-interfaces.h | 4 ++++ telepathy-glib/message-mixin.h | 4 ++++ telepathy-glib/message.h | 4 ++++ telepathy-glib/observe-channels-context.h | 4 ++++ telepathy-glib/presence-mixin.h | 4 ++++ telepathy-glib/protocol.h | 4 ++++ telepathy-glib/proxy.h | 4 ++++ telepathy-glib/room-info.h | 4 ++++ telepathy-glib/room-list.h | 4 ++++ telepathy-glib/run.h | 4 ++++ telepathy-glib/signalled-message.h | 4 ++++ telepathy-glib/simple-approver.h | 4 ++++ telepathy-glib/simple-client-factory.h | 4 ++++ telepathy-glib/simple-handler.h | 4 ++++ telepathy-glib/simple-observer.h | 4 ++++ telepathy-glib/simple-password-manager.h | 4 ++++ telepathy-glib/stream-tube-channel.h | 4 ++++ telepathy-glib/stream-tube-connection.h | 4 ++++ telepathy-glib/svc-account-manager.h | 4 ++++ telepathy-glib/svc-account.h | 4 ++++ telepathy-glib/svc-call.h | 4 ++++ telepathy-glib/svc-channel-dispatch-operation.h | 4 ++++ telepathy-glib/svc-channel-dispatcher.h | 4 ++++ telepathy-glib/svc-channel-request.h | 4 ++++ telepathy-glib/svc-channel.h | 4 ++++ telepathy-glib/svc-client.h | 4 ++++ telepathy-glib/svc-connection-manager.h | 4 ++++ telepathy-glib/svc-connection.h | 4 ++++ telepathy-glib/svc-debug.h | 4 ++++ telepathy-glib/svc-generic.h | 4 ++++ telepathy-glib/svc-media-interfaces.h | 4 ++++ telepathy-glib/svc-properties-interface.h | 4 ++++ telepathy-glib/svc-protocol.h | 4 ++++ telepathy-glib/svc-tls.h | 4 ++++ telepathy-glib/text-channel.h | 4 ++++ telepathy-glib/tls-certificate.h | 4 ++++ telepathy-glib/util.h | 4 ++++ 108 files changed, 431 insertions(+) diff --git a/telepathy-glib/account-channel-request.h b/telepathy-glib/account-channel-request.h index fd136ae..9889d6f 100644 --- a/telepathy-glib/account-channel-request.h +++ b/telepathy-glib/account-channel-request.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_ACCOUNT_CHANNEL_REQUEST_H__ #define __TP_ACCOUNT_CHANNEL_REQUEST_H__ diff --git a/telepathy-glib/account-manager.h b/telepathy-glib/account-manager.h index d569297..f1e3ddf 100644 --- a/telepathy-glib/account-manager.h +++ b/telepathy-glib/account-manager.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef TP_ACCOUNT_MANAGER_H #define TP_ACCOUNT_MANAGER_H diff --git a/telepathy-glib/account-request.h b/telepathy-glib/account-request.h index dcada4a..fad19d7 100644 --- a/telepathy-glib/account-request.h +++ b/telepathy-glib/account-request.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef TP_ACCOUNT_REQUEST_H #define TP_ACCOUNT_REQUEST_H diff --git a/telepathy-glib/account.h b/telepathy-glib/account.h index d1f5684..6c4b2cd 100644 --- a/telepathy-glib/account.h +++ b/telepathy-glib/account.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef TP_ACCOUNT_H #define TP_ACCOUNT_H diff --git a/telepathy-glib/add-dispatch-operation-context.h b/telepathy-glib/add-dispatch-operation-context.h index eed353a..ee740f8 100644 --- a/telepathy-glib/add-dispatch-operation-context.h +++ b/telepathy-glib/add-dispatch-operation-context.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_ADD_DISPATCH_OPERATION_CONTEXT_H__ #define __TP_ADD_DISPATCH_OPERATION_CONTEXT_H__ diff --git a/telepathy-glib/automatic-client-factory.h b/telepathy-glib/automatic-client-factory.h index 0270772..c40ace5 100644 --- a/telepathy-glib/automatic-client-factory.h +++ b/telepathy-glib/automatic-client-factory.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_AUTOMATIC_CLIENT_FACTORY_H__ #define __TP_AUTOMATIC_CLIENT_FACTORY_H__ diff --git a/telepathy-glib/automatic-proxy-factory.h b/telepathy-glib/automatic-proxy-factory.h index 9a135f4..4fb35e4 100644 --- a/telepathy-glib/automatic-proxy-factory.h +++ b/telepathy-glib/automatic-proxy-factory.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_AUTOMATIC_PROXY_FACTORY_H__ #define __TP_AUTOMATIC_PROXY_FACTORY_H__ diff --git a/telepathy-glib/base-call-channel.h b/telepathy-glib/base-call-channel.h index d905a7b..477f208 100644 --- a/telepathy-glib/base-call-channel.h +++ b/telepathy-glib/base-call-channel.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_BASE_CALL_CHANNEL_H__ #define __TP_BASE_CALL_CHANNEL_H__ diff --git a/telepathy-glib/base-call-content.h b/telepathy-glib/base-call-content.h index 1af8df5..c3a8d80 100644 --- a/telepathy-glib/base-call-content.h +++ b/telepathy-glib/base-call-content.h @@ -20,6 +20,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef TP_BASE_CALL_CONTENT_H #define TP_BASE_CALL_CONTENT_H diff --git a/telepathy-glib/base-call-stream.h b/telepathy-glib/base-call-stream.h index 90ae597..02cfed3 100644 --- a/telepathy-glib/base-call-stream.h +++ b/telepathy-glib/base-call-stream.h @@ -20,6 +20,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef TP_BASE_CALL_STREAM_H #define TP_BASE_CALL_STREAM_H diff --git a/telepathy-glib/base-channel.h b/telepathy-glib/base-channel.h index 1a45bda..6861b43 100644 --- a/telepathy-glib/base-channel.h +++ b/telepathy-glib/base-channel.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_BASE_CHANNEL_H__ #define __TP_BASE_CHANNEL_H__ diff --git a/telepathy-glib/base-client.h b/telepathy-glib/base-client.h index 9550b42..3481fb0 100644 --- a/telepathy-glib/base-client.h +++ b/telepathy-glib/base-client.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_BASE_CLIENT_H__ #define __TP_BASE_CLIENT_H__ diff --git a/telepathy-glib/base-connection-manager.h b/telepathy-glib/base-connection-manager.h index 6fd8f30..a22dccb 100644 --- a/telepathy-glib/base-connection-manager.h +++ b/telepathy-glib/base-connection-manager.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_BASE_CONNECTION_MANAGER_H__ #define __TP_BASE_CONNECTION_MANAGER_H__ diff --git a/telepathy-glib/base-connection.h b/telepathy-glib/base-connection.h index ae772d0..e6fa230 100644 --- a/telepathy-glib/base-connection.h +++ b/telepathy-glib/base-connection.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_BASE_CONNECTION_H__ #define __TP_BASE_CONNECTION_H__ diff --git a/telepathy-glib/base-contact-list.h b/telepathy-glib/base-contact-list.h index 345b16f..0c6c86c 100644 --- a/telepathy-glib/base-contact-list.h +++ b/telepathy-glib/base-contact-list.h @@ -17,6 +17,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_BASE_CONTACT_LIST_H__ #define __TP_BASE_CONTACT_LIST_H__ diff --git a/telepathy-glib/base-media-call-channel.h b/telepathy-glib/base-media-call-channel.h index 9cc5bc8..277a71a 100644 --- a/telepathy-glib/base-media-call-channel.h +++ b/telepathy-glib/base-media-call-channel.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_BASE_MEDIA_CALL_CHANNEL_H__ #define __TP_BASE_MEDIA_CALL_CHANNEL_H__ diff --git a/telepathy-glib/base-media-call-content.h b/telepathy-glib/base-media-call-content.h index 4ad6555..c7e0539 100644 --- a/telepathy-glib/base-media-call-content.h +++ b/telepathy-glib/base-media-call-content.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_BASE_MEDIA_CALL_CONTENT_H__ #define __TP_BASE_MEDIA_CALL_CONTENT_H__ diff --git a/telepathy-glib/base-media-call-stream.h b/telepathy-glib/base-media-call-stream.h index adecc90..78a45d0 100644 --- a/telepathy-glib/base-media-call-stream.h +++ b/telepathy-glib/base-media-call-stream.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_BASE_MEDIA_CALL_STREAM_H__ #define __TP_BASE_MEDIA_CALL_STREAM_H__ diff --git a/telepathy-glib/base-password-channel.h b/telepathy-glib/base-password-channel.h index 3f99acd..4f9e0b3 100644 --- a/telepathy-glib/base-password-channel.h +++ b/telepathy-glib/base-password-channel.h @@ -17,6 +17,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_BASE_PASSWORD_CHANNEL_H__ #define __TP_BASE_PASSWORD_CHANNEL_H__ diff --git a/telepathy-glib/base-protocol.h b/telepathy-glib/base-protocol.h index 23104ca..d3448d1 100644 --- a/telepathy-glib/base-protocol.h +++ b/telepathy-glib/base-protocol.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef TP_BASE_PROTOCOL_H #define TP_BASE_PROTOCOL_H diff --git a/telepathy-glib/base-room-config.h b/telepathy-glib/base-room-config.h index 86104f9..e34c99b 100644 --- a/telepathy-glib/base-room-config.h +++ b/telepathy-glib/base-room-config.h @@ -17,6 +17,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef TP_BASE_ROOM_CONFIG_H #define TP_BASE_ROOM_CONFIG_H diff --git a/telepathy-glib/basic-proxy-factory.h b/telepathy-glib/basic-proxy-factory.h index c521d3e..dfee1bc 100644 --- a/telepathy-glib/basic-proxy-factory.h +++ b/telepathy-glib/basic-proxy-factory.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_BASIC_PROXY_FACTORY_H__ #define __TP_BASIC_PROXY_FACTORY_H__ diff --git a/telepathy-glib/call-channel.h b/telepathy-glib/call-channel.h index d351ffb..36e9380 100644 --- a/telepathy-glib/call-channel.h +++ b/telepathy-glib/call-channel.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_CALL_CHANNEL_H__ #define __TP_CALL_CHANNEL_H__ diff --git a/telepathy-glib/call-content-media-description.h b/telepathy-glib/call-content-media-description.h index 2f5c499..7701147 100644 --- a/telepathy-glib/call-content-media-description.h +++ b/telepathy-glib/call-content-media-description.h @@ -20,6 +20,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_CALL_CONTENT_MEDIA_DESCRIPTION_H__ #define __TP_CALL_CONTENT_MEDIA_DESCRIPTION_H__ diff --git a/telepathy-glib/call-content.h b/telepathy-glib/call-content.h index 635edb0..45d06b2 100644 --- a/telepathy-glib/call-content.h +++ b/telepathy-glib/call-content.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_CALL_CONTENT_H__ #define __TP_CALL_CONTENT_H__ diff --git a/telepathy-glib/call-misc.h b/telepathy-glib/call-misc.h index b420a0a..cbab693 100644 --- a/telepathy-glib/call-misc.h +++ b/telepathy-glib/call-misc.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_CALL_MISC_H__ #define __TP_CALL_MISC_H__ diff --git a/telepathy-glib/call-stream-endpoint.h b/telepathy-glib/call-stream-endpoint.h index d97592c..5d256a7 100644 --- a/telepathy-glib/call-stream-endpoint.h +++ b/telepathy-glib/call-stream-endpoint.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_CALL_STREAM_ENDPOINT_H__ #define __TP_CALL_STREAM_ENDPOINT_H__ diff --git a/telepathy-glib/call-stream.h b/telepathy-glib/call-stream.h index 50f0c36..c2684b0 100644 --- a/telepathy-glib/call-stream.h +++ b/telepathy-glib/call-stream.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_CALL_STREAM_H__ #define __TP_CALL_STREAM_H__ diff --git a/telepathy-glib/capabilities.h b/telepathy-glib/capabilities.h index b8a98a4..31d71ff 100644 --- a/telepathy-glib/capabilities.h +++ b/telepathy-glib/capabilities.h @@ -17,6 +17,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_CAPABILITIES_H__ #define __TP_CAPABILITIES_H__ diff --git a/telepathy-glib/channel-dispatch-operation.h b/telepathy-glib/channel-dispatch-operation.h index fb1262f..7361c69 100644 --- a/telepathy-glib/channel-dispatch-operation.h +++ b/telepathy-glib/channel-dispatch-operation.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef TP_CHANNEL_DISPATCH_OPERATION_H #define TP_CHANNEL_DISPATCH_OPERATION_H diff --git a/telepathy-glib/channel-dispatcher.h b/telepathy-glib/channel-dispatcher.h index 91e6b72..0f193e2 100644 --- a/telepathy-glib/channel-dispatcher.h +++ b/telepathy-glib/channel-dispatcher.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef TP_CHANNEL_DISPATCHER_H #define TP_CHANNEL_DISPATCHER_H diff --git a/telepathy-glib/channel-iface.h b/telepathy-glib/channel-iface.h index 3943b9c..05e1cd4 100644 --- a/telepathy-glib/channel-iface.h +++ b/telepathy-glib/channel-iface.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_CHANNEL_IFACE_H__ #define __TP_CHANNEL_IFACE_H__ diff --git a/telepathy-glib/channel-manager.h b/telepathy-glib/channel-manager.h index 7b2f64d..4e871b5 100644 --- a/telepathy-glib/channel-manager.h +++ b/telepathy-glib/channel-manager.h @@ -20,6 +20,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef TP_CHANNEL_MANAGER_H #define TP_CHANNEL_MANAGER_H diff --git a/telepathy-glib/channel-request.h b/telepathy-glib/channel-request.h index 9cdf379..36cc9b9 100644 --- a/telepathy-glib/channel-request.h +++ b/telepathy-glib/channel-request.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef TP_CHANNEL_REQUEST_H #define TP_CHANNEL_REQUEST_H diff --git a/telepathy-glib/channel.h b/telepathy-glib/channel.h index 87ea773..3853200 100644 --- a/telepathy-glib/channel.h +++ b/telepathy-glib/channel.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_CHANNEL_H__ #define __TP_CHANNEL_H__ diff --git a/telepathy-glib/client-channel-factory.h b/telepathy-glib/client-channel-factory.h index 12e8b1e..6870e8f 100644 --- a/telepathy-glib/client-channel-factory.h +++ b/telepathy-glib/client-channel-factory.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_CLIENT_CHANNEL_FACTORY_H__ #define __TP_CLIENT_CHANNEL_FACTORY_H__ diff --git a/telepathy-glib/client-message.h b/telepathy-glib/client-message.h index b8f8a21..ece4f27 100644 --- a/telepathy-glib/client-message.h +++ b/telepathy-glib/client-message.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_CLIENT_MESSAGE_H__ #define __TP_CLIENT_MESSAGE_H__ diff --git a/telepathy-glib/client.h b/telepathy-glib/client.h index fce1220..a8d9df2 100644 --- a/telepathy-glib/client.h +++ b/telepathy-glib/client.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef TP_CLIENT_H #define TP_CLIENT_H diff --git a/telepathy-glib/cm-message.h b/telepathy-glib/cm-message.h index 79b63de..06f6f08 100644 --- a/telepathy-glib/cm-message.h +++ b/telepathy-glib/cm-message.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_CM_MESSAGE_H__ #define __TP_CM_MESSAGE_H__ diff --git a/telepathy-glib/connection-contact-list.h b/telepathy-glib/connection-contact-list.h index ab4d8bb..25a95f0 100644 --- a/telepathy-glib/connection-contact-list.h +++ b/telepathy-glib/connection-contact-list.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_CONNECTION_CONTACT_LIST_H__ #define __TP_CONNECTION_CONTACT_LIST_H__ diff --git a/telepathy-glib/connection-manager.h b/telepathy-glib/connection-manager.h index 0e48a39..76b3d32 100644 --- a/telepathy-glib/connection-manager.h +++ b/telepathy-glib/connection-manager.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_CONNECTION_MANAGER_H__ #define __TP_CONNECTION_MANAGER_H__ diff --git a/telepathy-glib/connection.h b/telepathy-glib/connection.h index 55a0061..1502efa 100644 --- a/telepathy-glib/connection.h +++ b/telepathy-glib/connection.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_CONNECTION_H__ #define __TP_CONNECTION_H__ diff --git a/telepathy-glib/contact-operations.h b/telepathy-glib/contact-operations.h index 65360f5..ca9e76a 100644 --- a/telepathy-glib/contact-operations.h +++ b/telepathy-glib/contact-operations.h @@ -17,6 +17,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_CONTACT_OPERATIONS_H__ #define __TP_CONTACT_OPERATIONS_H__ diff --git a/telepathy-glib/contact-search-result.h b/telepathy-glib/contact-search-result.h index 035afa3..3db4b7d 100644 --- a/telepathy-glib/contact-search-result.h +++ b/telepathy-glib/contact-search-result.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_CONTACT_SEARCH_RESULT_H__ #define __TP_CONTACT_SEARCH_RESULT_H__ diff --git a/telepathy-glib/contact-search.h b/telepathy-glib/contact-search.h index 24636ca..df7ee31 100644 --- a/telepathy-glib/contact-search.h +++ b/telepathy-glib/contact-search.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_CONTACT_SEARCH_H__ #define __TP_CONTACT_SEARCH_H__ diff --git a/telepathy-glib/contact.h b/telepathy-glib/contact.h index c91b3a3..0a17123 100644 --- a/telepathy-glib/contact.h +++ b/telepathy-glib/contact.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_CONTACT_H__ #define __TP_CONTACT_H__ diff --git a/telepathy-glib/contacts-mixin.h b/telepathy-glib/contacts-mixin.h index ff72a11..17f9702 100644 --- a/telepathy-glib/contacts-mixin.h +++ b/telepathy-glib/contacts-mixin.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_CONTACTS_MIXIN_H__ #define __TP_CONTACTS_MIXIN_H__ diff --git a/telepathy-glib/dbus-properties-mixin.h b/telepathy-glib/dbus-properties-mixin.h index 0f8bf1c..6d72d0f 100644 --- a/telepathy-glib/dbus-properties-mixin.h +++ b/telepathy-glib/dbus-properties-mixin.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_DBUS_PROPERTIES_MIXIN_H__ #define __TP_DBUS_PROPERTIES_MIXIN_H__ diff --git a/telepathy-glib/dbus-tube-channel.h b/telepathy-glib/dbus-tube-channel.h index e4ab73b..0d61d60 100644 --- a/telepathy-glib/dbus-tube-channel.h +++ b/telepathy-glib/dbus-tube-channel.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_DBUS_TUBE_CHANNEL_H__ #define __TP_DBUS_TUBE_CHANNEL_H__ diff --git a/telepathy-glib/dbus.h b/telepathy-glib/dbus.h index 53a2606..42d1ef5 100644 --- a/telepathy-glib/dbus.h +++ b/telepathy-glib/dbus.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TELEPATHY_DBUS_H__ #define __TELEPATHY_DBUS_H__ #define __TP_IN_DBUS_H__ diff --git a/telepathy-glib/debug-client.h b/telepathy-glib/debug-client.h index d7e69c8..c527aa8 100644 --- a/telepathy-glib/debug-client.h +++ b/telepathy-glib/debug-client.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef TP_DEBUG_CLIENT_H #define TP_DEBUG_CLIENT_H diff --git a/telepathy-glib/debug-message.h b/telepathy-glib/debug-message.h index 3aad8fd..a499cd3 100644 --- a/telepathy-glib/debug-message.h +++ b/telepathy-glib/debug-message.h @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif #ifndef __TP_DEBUG_MESSAGE_H__ #define __TP_DEBUG_MESSAGE_H__ diff --git a/telepathy-glib/debug-sender.h b/telepathy-glib/debug-sender.h index de7a0d1..ecaefbc 100644 --- a/telepathy-glib/debug-sender.h +++ b/telepathy-glib/debug-sender.h @@ -17,6 +17,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_DEBUG_SENDER_H__ #define __TP_DEBUG_SENDER_H__ diff --git a/telepathy-glib/debug.h b/telepathy-glib/debug.h index d04e2db..d443ebf 100644 --- a/telepathy-glib/debug.h +++ b/telepathy-glib/debug.h @@ -1,3 +1,7 @@ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_DEBUG_H__ #define __TP_DEBUG_H__ diff --git a/telepathy-glib/defs.h b/telepathy-glib/defs.h index ad243b2..bc4ca5c 100644 --- a/telepathy-glib/defs.h +++ b/telepathy-glib/defs.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_DEFS_H__ #define __TP_DEFS_H__ diff --git a/telepathy-glib/dtmf.h b/telepathy-glib/dtmf.h index c505aa0..386927a 100644 --- a/telepathy-glib/dtmf.h +++ b/telepathy-glib/dtmf.h @@ -17,6 +17,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_DTMF_H__ #define __TP_DTMF_H__ diff --git a/telepathy-glib/enums.h b/telepathy-glib/enums.h index c4c0e2b..ba77727 100644 --- a/telepathy-glib/enums.h +++ b/telepathy-glib/enums.h @@ -1,6 +1,10 @@ #ifndef __TP_ENUMS_H__ #define __TP_ENUMS_H__ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #include #include diff --git a/telepathy-glib/errors.h b/telepathy-glib/errors.h index c0cc141..24e7086 100644 --- a/telepathy-glib/errors.h +++ b/telepathy-glib/errors.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_ERRORS_H__ #define __TP_ERRORS_H__ diff --git a/telepathy-glib/exportable-channel.h b/telepathy-glib/exportable-channel.h index 2e83a7d..80cb0ac 100644 --- a/telepathy-glib/exportable-channel.h +++ b/telepathy-glib/exportable-channel.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef TP_EXPORTABLE_CHANNEL_H #define TP_EXPORTABLE_CHANNEL_H diff --git a/telepathy-glib/file-transfer-channel.h b/telepathy-glib/file-transfer-channel.h index 83c4550..bc25a31 100644 --- a/telepathy-glib/file-transfer-channel.h +++ b/telepathy-glib/file-transfer-channel.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_FILE_TRANSFER_CHANNEL_H__ #define __TP_FILE_TRANSFER_CHANNEL_H__ diff --git a/telepathy-glib/gnio-util.h b/telepathy-glib/gnio-util.h index 1ce7e15..b7a2f37 100644 --- a/telepathy-glib/gnio-util.h +++ b/telepathy-glib/gnio-util.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #include #include diff --git a/telepathy-glib/group-mixin.h b/telepathy-glib/group-mixin.h index caf8ce3..4039b27 100644 --- a/telepathy-glib/group-mixin.h +++ b/telepathy-glib/group-mixin.h @@ -20,6 +20,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_GROUP_MIXIN_H__ #define __TP_GROUP_MIXIN_H__ diff --git a/telepathy-glib/gtypes.h b/telepathy-glib/gtypes.h index 3f481a8..037c021 100644 --- a/telepathy-glib/gtypes.h +++ b/telepathy-glib/gtypes.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_GTYPES_H__ #define __TP_GTYPES_H__ diff --git a/telepathy-glib/handle-channels-context.h b/telepathy-glib/handle-channels-context.h index 95ad682..0e814f9 100644 --- a/telepathy-glib/handle-channels-context.h +++ b/telepathy-glib/handle-channels-context.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_HANDLE_CHANNELS_CONTEXT_H__ #define __TP_HANDLE_CHANNELS_CONTEXT_H__ diff --git a/telepathy-glib/handle-repo-dynamic.h b/telepathy-glib/handle-repo-dynamic.h index bfd4341..cca12f3 100644 --- a/telepathy-glib/handle-repo-dynamic.h +++ b/telepathy-glib/handle-repo-dynamic.h @@ -20,6 +20,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_HANDLE_REPO_DYNAMIC_H__ #define __TP_HANDLE_REPO_DYNAMIC_H__ diff --git a/telepathy-glib/handle-repo-static.h b/telepathy-glib/handle-repo-static.h index 47f5f72..c3af5d1 100644 --- a/telepathy-glib/handle-repo-static.h +++ b/telepathy-glib/handle-repo-static.h @@ -21,6 +21,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_HANDLE_REPO_STATIC_H__ #define __TP_HANDLE_REPO_STATIC_H__ diff --git a/telepathy-glib/handle-repo.h b/telepathy-glib/handle-repo.h index cfe58e4..69b718a 100644 --- a/telepathy-glib/handle-repo.h +++ b/telepathy-glib/handle-repo.h @@ -21,6 +21,10 @@ * */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_HANDLE_REPO_H__ #define __TP_HANDLE_REPO_H__ diff --git a/telepathy-glib/handle.h b/telepathy-glib/handle.h index 25a46ec..2d3154a 100644 --- a/telepathy-glib/handle.h +++ b/telepathy-glib/handle.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_HANDLE_H__ #define __TP_HANDLE_H__ diff --git a/telepathy-glib/heap.h b/telepathy-glib/heap.h index cca243c..6c8a7ca 100644 --- a/telepathy-glib/heap.h +++ b/telepathy-glib/heap.h @@ -20,6 +20,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_HEAP_H__ #define __TP_HEAP_H__ diff --git a/telepathy-glib/interfaces.h b/telepathy-glib/interfaces.h index 202d389..bfdd858 100644 --- a/telepathy-glib/interfaces.h +++ b/telepathy-glib/interfaces.h @@ -1,3 +1,7 @@ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_INTERFACES_H__ #define __TP_INTERFACES_H__ diff --git a/telepathy-glib/intset.h b/telepathy-glib/intset.h index e1ac2e8..25eff6c 100644 --- a/telepathy-glib/intset.h +++ b/telepathy-glib/intset.h @@ -20,6 +20,10 @@ * */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_INTSET_H__ #define __TP_INTSET_H__ diff --git a/telepathy-glib/media-interfaces.h b/telepathy-glib/media-interfaces.h index 6dc6015..1a897f6 100644 --- a/telepathy-glib/media-interfaces.h +++ b/telepathy-glib/media-interfaces.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_MEDIA_INTERFACES_H__ #define __TP_MEDIA_INTERFACES_H__ diff --git a/telepathy-glib/message-mixin.h b/telepathy-glib/message-mixin.h index 2293733..135ef13 100644 --- a/telepathy-glib/message-mixin.h +++ b/telepathy-glib/message-mixin.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef TP_MESSAGE_MIXIN_H #define TP_MESSAGE_MIXIN_H diff --git a/telepathy-glib/message.h b/telepathy-glib/message.h index 1e35384..0349898 100644 --- a/telepathy-glib/message.h +++ b/telepathy-glib/message.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_MESSAGE_H__ #define __TP_MESSAGE_H__ diff --git a/telepathy-glib/observe-channels-context.h b/telepathy-glib/observe-channels-context.h index 3666289..af9f77a 100644 --- a/telepathy-glib/observe-channels-context.h +++ b/telepathy-glib/observe-channels-context.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_OBSERVE_CHANNELS_CONTEXT_H__ #define __TP_OBSERVE_CHANNELS_CONTEXT_H__ diff --git a/telepathy-glib/presence-mixin.h b/telepathy-glib/presence-mixin.h index 48cef75..d3d2ade 100644 --- a/telepathy-glib/presence-mixin.h +++ b/telepathy-glib/presence-mixin.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_PRESENCE_MIXIN_H__ #define __TP_PRESENCE_MIXIN_H__ diff --git a/telepathy-glib/protocol.h b/telepathy-glib/protocol.h index 31c4a46..8a390e0 100644 --- a/telepathy-glib/protocol.h +++ b/telepathy-glib/protocol.h @@ -17,6 +17,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef TP_PROTOCOL_H #define TP_PROTOCOL_H diff --git a/telepathy-glib/proxy.h b/telepathy-glib/proxy.h index cd2c838..7329d6f 100644 --- a/telepathy-glib/proxy.h +++ b/telepathy-glib/proxy.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_PROXY_H__ #define __TP_PROXY_H__ diff --git a/telepathy-glib/room-info.h b/telepathy-glib/room-info.h index d114c32..0a1fa2f 100644 --- a/telepathy-glib/room-info.h +++ b/telepathy-glib/room-info.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_ROOM_INFO_H__ #define __TP_ROOM_INFO_H__ diff --git a/telepathy-glib/room-list.h b/telepathy-glib/room-list.h index bc1042c..7df3c0d 100644 --- a/telepathy-glib/room-list.h +++ b/telepathy-glib/room-list.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_ROOM_LIST_H__ #define __TP_ROOM_LIST_H__ diff --git a/telepathy-glib/run.h b/telepathy-glib/run.h index 21c0ef3..f579729 100644 --- a/telepathy-glib/run.h +++ b/telepathy-glib/run.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_RUN_H__ #define __TP_RUN_H__ diff --git a/telepathy-glib/signalled-message.h b/telepathy-glib/signalled-message.h index 9b72e56..4c163d0 100644 --- a/telepathy-glib/signalled-message.h +++ b/telepathy-glib/signalled-message.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_SIGNALLED_MESSAGE_H__ #define __TP_SIGNALLED_MESSAGE_H__ diff --git a/telepathy-glib/simple-approver.h b/telepathy-glib/simple-approver.h index 0925b7e..505491d 100644 --- a/telepathy-glib/simple-approver.h +++ b/telepathy-glib/simple-approver.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_SIMPLE_APPROVER_H__ #define __TP_SIMPLE_APPROVER_H__ diff --git a/telepathy-glib/simple-client-factory.h b/telepathy-glib/simple-client-factory.h index ced2504..8e53cfb 100644 --- a/telepathy-glib/simple-client-factory.h +++ b/telepathy-glib/simple-client-factory.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_SIMPLE_CLIENT_FACTORY_H__ #define __TP_SIMPLE_CLIENT_FACTORY_H__ diff --git a/telepathy-glib/simple-handler.h b/telepathy-glib/simple-handler.h index 48e5d76..322c08d 100644 --- a/telepathy-glib/simple-handler.h +++ b/telepathy-glib/simple-handler.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_SIMPLE_HANDLER_H__ #define __TP_SIMPLE_HANDLER_H__ diff --git a/telepathy-glib/simple-observer.h b/telepathy-glib/simple-observer.h index 107ef36..f637b3f 100644 --- a/telepathy-glib/simple-observer.h +++ b/telepathy-glib/simple-observer.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_SIMPLE_OBSERVER_H__ #define __TP_SIMPLE_OBSERVER_H__ diff --git a/telepathy-glib/simple-password-manager.h b/telepathy-glib/simple-password-manager.h index 854cb80..e22363f 100644 --- a/telepathy-glib/simple-password-manager.h +++ b/telepathy-glib/simple-password-manager.h @@ -17,6 +17,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_SIMPLE_PASSWORD_MANAGER_H__ #define __TP_SIMPLE_PASSWORD_MANAGER_H__ diff --git a/telepathy-glib/stream-tube-channel.h b/telepathy-glib/stream-tube-channel.h index 39c2c7e..389b5c5 100644 --- a/telepathy-glib/stream-tube-channel.h +++ b/telepathy-glib/stream-tube-channel.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_STREAM_TUBE_CHANNEL_H__ #define __TP_STREAM_TUBE_CHANNEL_H__ diff --git a/telepathy-glib/stream-tube-connection.h b/telepathy-glib/stream-tube-connection.h index 771affe..b7a931e 100644 --- a/telepathy-glib/stream-tube-connection.h +++ b/telepathy-glib/stream-tube-connection.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_STREAM_TUBE_CONNECTION_H__ #define __TP_STREAM_TUBE_CONNECTION_H__ diff --git a/telepathy-glib/svc-account-manager.h b/telepathy-glib/svc-account-manager.h index ed7b4e2..75c4dc5 100644 --- a/telepathy-glib/svc-account-manager.h +++ b/telepathy-glib/svc-account-manager.h @@ -1,3 +1,7 @@ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __TP_META_SVC_ACCOUNT_MANAGER_H__ #define __TP_META_SVC_ACCOUNT_MANAGER_H__ diff --git a/telepathy-glib/svc-account.h b/telepathy-glib/svc-account.h index 1818cb3..783d05c 100644 --- a/telepathy-glib/svc-account.h +++ b/telepathy-glib/svc-account.h @@ -1,3 +1,7 @@ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __TP_META_SVC_ACCOUNT_H__ #define __TP_META_SVC_ACCOUNT_H__ diff --git a/telepathy-glib/svc-call.h b/telepathy-glib/svc-call.h index 76cd6c7..97c9367 100644 --- a/telepathy-glib/svc-call.h +++ b/telepathy-glib/svc-call.h @@ -1,3 +1,7 @@ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __TP_META_SVC_ACCOUNT_H__ #define __TP_META_SVC_ACCOUNT_H__ diff --git a/telepathy-glib/svc-channel-dispatch-operation.h b/telepathy-glib/svc-channel-dispatch-operation.h index ae74c54..f361042 100644 --- a/telepathy-glib/svc-channel-dispatch-operation.h +++ b/telepathy-glib/svc-channel-dispatch-operation.h @@ -1,3 +1,7 @@ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __TP_META_SVC_CHANNEL_DISPATCH_OPERATION_H__ #define __TP_META_SVC_CHANNEL_DISPATCH_OPERATION_H__ diff --git a/telepathy-glib/svc-channel-dispatcher.h b/telepathy-glib/svc-channel-dispatcher.h index 87ad459..fbb5982 100644 --- a/telepathy-glib/svc-channel-dispatcher.h +++ b/telepathy-glib/svc-channel-dispatcher.h @@ -1,3 +1,7 @@ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __TP_META_SVC_CHANNEL_DISPATCHER_H__ #define __TP_META_SVC_CHANNEL_DISPATCHER_H__ diff --git a/telepathy-glib/svc-channel-request.h b/telepathy-glib/svc-channel-request.h index f849a82..dc55336 100644 --- a/telepathy-glib/svc-channel-request.h +++ b/telepathy-glib/svc-channel-request.h @@ -1,3 +1,7 @@ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __TP_META_SVC_CHANNEL_REQUEST_H__ #define __TP_META_SVC_CHANNEL_REQUEST_H__ diff --git a/telepathy-glib/svc-channel.h b/telepathy-glib/svc-channel.h index 479ab7e..f3f1a88 100644 --- a/telepathy-glib/svc-channel.h +++ b/telepathy-glib/svc-channel.h @@ -1,3 +1,7 @@ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __TP_META_SVC_CHANNEL_H__ #define __TP_META_SVC_CHANNEL_H__ diff --git a/telepathy-glib/svc-client.h b/telepathy-glib/svc-client.h index d774a9d..cbe39de 100644 --- a/telepathy-glib/svc-client.h +++ b/telepathy-glib/svc-client.h @@ -1,3 +1,7 @@ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_META_SVC_CLIENT_H__ #define __TP_META_SVC_CLIENT_H__ diff --git a/telepathy-glib/svc-connection-manager.h b/telepathy-glib/svc-connection-manager.h index b0cd98d..64e09b9 100644 --- a/telepathy-glib/svc-connection-manager.h +++ b/telepathy-glib/svc-connection-manager.h @@ -1,3 +1,7 @@ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __TP_META_SVC_CONNECTION_MANAGER_H__ #define __TP_META_SVC_CONNECTION_MANAGER_H__ diff --git a/telepathy-glib/svc-connection.h b/telepathy-glib/svc-connection.h index 6cfa7dd..2443f6d 100644 --- a/telepathy-glib/svc-connection.h +++ b/telepathy-glib/svc-connection.h @@ -1,3 +1,7 @@ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __TP_META_SVC_CONNECTION_H__ #define __TP_META_SVC_CONNECTION_H__ diff --git a/telepathy-glib/svc-debug.h b/telepathy-glib/svc-debug.h index abedc37..a65b7f4 100644 --- a/telepathy-glib/svc-debug.h +++ b/telepathy-glib/svc-debug.h @@ -1,3 +1,7 @@ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __TP_SVC_DEBUG_H__ #define __TP_SVC_DEBUG_H__ diff --git a/telepathy-glib/svc-generic.h b/telepathy-glib/svc-generic.h index 326cd7d..cd59547 100644 --- a/telepathy-glib/svc-generic.h +++ b/telepathy-glib/svc-generic.h @@ -1,3 +1,7 @@ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_SVC_GENERIC_H__ #define __TP_SVC_GENERIC_H__ diff --git a/telepathy-glib/svc-media-interfaces.h b/telepathy-glib/svc-media-interfaces.h index c1c27ad..19742de 100644 --- a/telepathy-glib/svc-media-interfaces.h +++ b/telepathy-glib/svc-media-interfaces.h @@ -1,3 +1,7 @@ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __TP_SVC_MEDIA_INTERFACES_H__ #define __TP_SVC_MEDIA_INTERFACES_H__ diff --git a/telepathy-glib/svc-properties-interface.h b/telepathy-glib/svc-properties-interface.h index 1f9a066..46760e7 100644 --- a/telepathy-glib/svc-properties-interface.h +++ b/telepathy-glib/svc-properties-interface.h @@ -1,2 +1,6 @@ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only can be included directly." +#endif + /* svc-properties-interface is now officially svc-generic */ #include diff --git a/telepathy-glib/svc-protocol.h b/telepathy-glib/svc-protocol.h index 934d44f..d8f4f41 100644 --- a/telepathy-glib/svc-protocol.h +++ b/telepathy-glib/svc-protocol.h @@ -1,3 +1,7 @@ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __TP_META_SVC_PROTOCOL_H__ #define __TP_META_SVC_PROTOCOL_H__ diff --git a/telepathy-glib/svc-tls.h b/telepathy-glib/svc-tls.h index 9c4fc56..2693a22 100644 --- a/telepathy-glib/svc-tls.h +++ b/telepathy-glib/svc-tls.h @@ -1,3 +1,7 @@ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __TP_META_SVC_TLS_H__ #define __TP_META_SVC_TLS_H__ diff --git a/telepathy-glib/text-channel.h b/telepathy-glib/text-channel.h index 828def4..953ef0c 100644 --- a/telepathy-glib/text-channel.h +++ b/telepathy-glib/text-channel.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_TEXT_CHANNEL_H__ #define __TP_TEXT_CHANNEL_H__ diff --git a/telepathy-glib/tls-certificate.h b/telepathy-glib/tls-certificate.h index 72b1c01..c682196 100644 --- a/telepathy-glib/tls-certificate.h +++ b/telepathy-glib/tls-certificate.h @@ -20,6 +20,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_TLS_CERTIFICATE_H__ #define __TP_TLS_CERTIFICATE_H__ diff --git a/telepathy-glib/util.h b/telepathy-glib/util.h index 3474e7e..fd26a8c 100644 --- a/telepathy-glib/util.h +++ b/telepathy-glib/util.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only and can be included directly." +#endif + #ifndef __TP_UTIL_H__ #define __TP_UTIL_H__ #define __TP_IN_UTIL_H__ -- 1.7.9.5