From dc4c91a924769c36db30fbd1c5f590ab93dd153f Mon Sep 17 00:00:00 2001 From: pd Date: Sat, 16 Aug 2008 16:21:42 +0200 Subject: [PATCH] =?UTF-8?q?added=20=5Fproxy=20and=20=5Fadaptor=20sufixes?= =?UTF-8?q?=20to=20generated=20interfaces=20class=20names=20(Jo=C3=A3o=20X?= =?UTF-8?q?avier)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configure.ac | 1 + examples/Makefile.am | 2 +- tools/xml2cpp.cpp | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 230564b..7c8e08d 100644 --- a/configure.ac +++ b/configure.ac @@ -185,6 +185,7 @@ AC_OUTPUT( doc/Doxyfile examples/Makefile examples/properties/Makefile + examples/properties_get_set/Makefile examples/echo/Makefile examples/hal/Makefile examples/glib/Makefile diff --git a/examples/Makefile.am b/examples/Makefile.am index b346604..d3cbb7c 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = properties echo hal glib +SUBDIRS = properties properties_get_set echo hal glib MAINTAINERCLEANFILES = \ Makefile.in diff --git a/tools/xml2cpp.cpp b/tools/xml2cpp.cpp index 439a419..4a42c4e 100644 --- a/tools/xml2cpp.cpp +++ b/tools/xml2cpp.cpp @@ -257,6 +257,8 @@ void generate_proxy(Xml::Document &doc, const char *filename) getline(ss, ifaceclass); + ifaceclass += "_proxy"; + cerr << "generating code for interface " << ifacename << "..." << endl; file << "class " << ifaceclass << endl @@ -616,6 +618,8 @@ void generate_adaptor(Xml::Document &doc, const char *filename) getline(ss, ifaceclass); + ifaceclass += "_adaptor"; + cerr << "generating code for interface " << ifacename << "..." << endl; file << "class " << ifaceclass << endl