Rename sdbus-c++ stub code generator to more consistent sdbus-c++-xml2cpp

This commit is contained in:
Stanislav Angelovic
2019-03-28 19:15:48 +01:00
parent 4fd2479b06
commit a5692c08ea
3 changed files with 6 additions and 6 deletions

View File

@@ -444,12 +444,12 @@ sdbus-c++ users shall prefer the convenience API to the lower level, basic API.
Implementing the Concatenator example using sdbus-c++-generated stubs Implementing the Concatenator example using sdbus-c++-generated stubs
--------------------------------------------------------------------- ---------------------------------------------------------------------
sdbus-c++ ships with the native stub generator tool called sdbuscpp-xml2cpp. The tool is very similar to dbusxx-xml2cpp tool that comes from dbus-c++ project. sdbus-c++ ships with the native stub generator tool called `sdbus-c++-xml2cpp`. The tool is very similar to `dbusxx-xml2cpp` tool that comes from dbus-c++ project.
The generator tool takes D-Bus XML IDL description of D-Bus interfaces on its input, and can be instructed to generate one or both of these: an adaptor header file for use at server side, and a proxy header file for use at client side. Like this: The generator tool takes D-Bus XML IDL description of D-Bus interfaces on its input, and can be instructed to generate one or both of these: an adaptor header file for use at server side, and a proxy header file for use at client side. Like this:
```bash ```bash
sdbuscpp-xml2cpp database-bindings.xml --adaptor=database-server-glue.h --proxy=database-client-glue.h sdbus-c++-xml2cpp database-bindings.xml --adaptor=database-server-glue.h --proxy=database-client-glue.h
``` ```
The adaptor header file contains classes that can be used to implement described interfaces. The proxy header file contains classes that can be used to make calls to remote objects. The adaptor header file contains classes that can be used to implement described interfaces. The proxy header file contains classes that can be used to make calls to remote objects.
@@ -483,7 +483,7 @@ There is specific class for each interface in the XML IDL file. The class is de
```cpp ```cpp
/* /*
* This file was automatically generated by sdbuscpp-xml2cpp; DO NOT EDIT! * This file was automatically generated by sdbus-c++-xml2cpp; DO NOT EDIT!
*/ */
#ifndef __sdbuscpp__concatenator_server_glue_h__adaptor__H__ #ifndef __sdbuscpp__concatenator_server_glue_h__adaptor__H__
@@ -533,7 +533,7 @@ Analogously to the adaptor classes described above, there is specific class for
```cpp ```cpp
/* /*
* This file was automatically generated by sdbuscpp-xml2cpp; DO NOT EDIT! * This file was automatically generated by sdbus-c++-xml2cpp; DO NOT EDIT!
*/ */
#ifndef __sdbuscpp__concatenator_client_glue_h__proxy__H__ #ifndef __sdbuscpp__concatenator_client_glue_h__proxy__H__

View File

@@ -4,7 +4,7 @@
cmake_minimum_required(VERSION 3.5) cmake_minimum_required(VERSION 3.5)
project(sdbuscpp-xml2cpp) project(sdbus-c++-xml2cpp)
include(GNUInstallDirs) include(GNUInstallDirs)

View File

@@ -17,6 +17,6 @@ std::string signature_to_type(const std::string& signature);
std::string underscorize(const std::string& str); std::string underscorize(const std::string& str);
constexpr const char* getHeaderComment() noexcept { return "\n/*\n * This file was automatically generated by sdbuscpp-xml2cpp; DO NOT EDIT!\n */\n\n"; } constexpr const char* getHeaderComment() noexcept { return "\n/*\n * This file was automatically generated by sdbus-c++-xml2cpp; DO NOT EDIT!\n */\n\n"; }
#endif //__SDBUSCPP_TOOLS_GENERATOR_UTILS_H #endif //__SDBUSCPP_TOOLS_GENERATOR_UTILS_H