diff options
author | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2010-02-11 15:53:31 +1100 |
---|---|---|
committer | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2010-02-11 15:54:38 +1100 |
commit | 09500d23db05b1bc88fb0a3ceca9061955cc4084 (patch) | |
tree | 2ceffcbed42df373e79e65fc8ddc901013f6fb78 /extensions | |
parent | cc900e536d1fc4b1d9f8f98c3297e7007650b0b9 (diff) |
Generate client bindings
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/Makefile.am | 11 | ||||
-rw-r--r-- | extensions/extensions.c | 3 | ||||
-rw-r--r-- | extensions/extensions.h | 3 |
3 files changed, 17 insertions, 0 deletions
diff --git a/extensions/Makefile.am b/extensions/Makefile.am index bac6ce9..5b2c871 100644 --- a/extensions/Makefile.am +++ b/extensions/Makefile.am @@ -20,6 +20,8 @@ nodist_libtpl_extensions_la_SOURCES = \ _gen/gtypes-body.h \ _gen/interfaces.h \ _gen/interfaces-body.h \ + _gen/cli.h \ + _gen/cli-body.h \ _gen/svc.h \ _gen/svc.c @@ -56,6 +58,15 @@ _gen/svc.c _gen/svc.h: _gen/all.xml $(tools_dir)/glib-ginterface-gen.py \ --not-implemented-func='tp_dbus_g_method_return_not_implemented' \ $< Tpl_Svc_ +_gen/cli.c _gen/cli.h: _gen/all.xml $(tools_dir)/glib-ginterface-gen.py \ + Makefile.am + $(AM_V_GEN)$(PYTHON) $(tools_dir)/glib-client-gen.py \ + --subclass=TpProxy \ + --subclass-assert=TP_IS_PROXY \ + --iface-quark-prefix=TPL_IFACE_QUARK \ + --tp-proxy-api=0.7.6 \ + $< Tpl_Cli _gen/cli + _gen/signals-marshal.list: _gen/all.xml \ $(tools_dir)/glib-signals-marshal-gen.py \ Makefile.am diff --git a/extensions/extensions.c b/extensions/extensions.c index c81d126..d18b085 100644 --- a/extensions/extensions.c +++ b/extensions/extensions.c @@ -1,5 +1,8 @@ #include "extensions.h" +#include <telepathy-glib/proxy-subclass.h> + /* auto-generated stubs */ #include "_gen/gtypes-body.h" #include "_gen/interfaces-body.h" +#include "_gen/cli-body.h" diff --git a/extensions/extensions.h b/extensions/extensions.h index bf8f36d..65b4a2e 100644 --- a/extensions/extensions.h +++ b/extensions/extensions.h @@ -1,8 +1,11 @@ #ifndef _TPL_EXTENSIONS_H #define _TPL_EXTENSIONS_H +#include <telepathy-glib/proxy.h> + #include "extensions/_gen/enums.h" #include "extensions/_gen/svc.h" +#include "extensions/_gen/cli.h" G_BEGIN_DECLS |