summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2010-12-22 16:15:10 +0000
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2010-12-22 16:15:10 +0000
commitdb01ff07a16b4f3cb33ee03e2e8cbdeb99a602ec (patch)
treee0288a490ecba035aee22f84ca54d0cf3320fcf1
parentffb2a32d6f3d4103f7c312fa69b586fa49374b16 (diff)
Only include _gen headers from the appropriate places
This avoids including them several times
-rw-r--r--telepathy-yell/Makefile.am3
-rw-r--r--telepathy-yell/cli-call.h6
-rw-r--r--telepathy-yell/extensions.h10
-rw-r--r--telepathy-yell/telepathy-yell.h1
4 files changed, 14 insertions, 6 deletions
diff --git a/telepathy-yell/Makefile.am b/telepathy-yell/Makefile.am
index 3e04765..c948711 100644
--- a/telepathy-yell/Makefile.am
+++ b/telepathy-yell/Makefile.am
@@ -55,7 +55,8 @@ headers = \
gtypes.h \
enums.h \
interfaces.h \
- svc-call.h
+ svc-call.h \
+ cli-call.h
if ENABLE_SHARED_LIBRARY
tpyinclude_HEADERS = \
diff --git a/telepathy-yell/cli-call.h b/telepathy-yell/cli-call.h
new file mode 100644
index 0000000..4b0c0bc
--- /dev/null
+++ b/telepathy-yell/cli-call.h
@@ -0,0 +1,6 @@
+#ifndef __TPY_META_CLI_CALL_H__
+#define __TPY_META_CLI_CALL_H__
+
+#include <telepathy-yell/_gen/cli-call.h>
+
+#endif
diff --git a/telepathy-yell/extensions.h b/telepathy-yell/extensions.h
index 3e2bff9..d39db79 100644
--- a/telepathy-yell/extensions.h
+++ b/telepathy-yell/extensions.h
@@ -5,14 +5,14 @@
#include <telepathy-glib/channel.h>
#include <telepathy-glib/connection.h>
-#include <telepathy-yell/_gen/enums.h>
-#include <telepathy-yell/_gen/cli-call.h>
-#include <telepathy-yell/_gen/svc-call.h>
+#include <telepathy-yell/enums.h>
+#include <telepathy-yell/cli-call.h>
+#include <telepathy-yell/svc-call.h>
G_BEGIN_DECLS
-#include <telepathy-yell/_gen/gtypes.h>
-#include <telepathy-yell/_gen/interfaces.h>
+#include <telepathy-yell/gtypes.h>
+#include <telepathy-yell/interfaces.h>
void tpy_cli_init (void);
diff --git a/telepathy-yell/telepathy-yell.h b/telepathy-yell/telepathy-yell.h
index 2fcc413..ba6e906 100644
--- a/telepathy-yell/telepathy-yell.h
+++ b/telepathy-yell/telepathy-yell.h
@@ -25,6 +25,7 @@
#include <telepathy-yell/extensions.h>
#include <telepathy-yell/gtypes.h>
#include <telepathy-yell/interfaces.h>
+#include <telepathy-yell/cli-call.h>
#include <telepathy-yell/svc-call.h>
#endif