use extern variable
This commit is contained in:
parent
7424df631d
commit
fbc0227d56
3 changed files with 21 additions and 28 deletions
|
@ -7,20 +7,9 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace DBus;
|
using namespace DBus;
|
||||||
|
|
||||||
static const char *tab = " ";
|
extern const char *tab;
|
||||||
|
extern const char *header;
|
||||||
static const char *header = "\n\
|
extern const char *dbus_includes;
|
||||||
/*\n\
|
|
||||||
* This file was automatically generated by dbusxx-xml2cpp; DO NOT EDIT!\n\
|
|
||||||
*/\n\
|
|
||||||
\n\
|
|
||||||
";
|
|
||||||
|
|
||||||
static const char *dbus_includes = "\n\
|
|
||||||
#include <dbus-c++/dbus.h>\n\
|
|
||||||
#include <cassert>\n\n\
|
|
||||||
\n\
|
|
||||||
";
|
|
||||||
|
|
||||||
/*! Generate adaptor code for a XML introspection
|
/*! Generate adaptor code for a XML introspection
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -7,20 +7,9 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace DBus;
|
using namespace DBus;
|
||||||
|
|
||||||
static const char *tab = " ";
|
extern const char *tab;
|
||||||
|
extern const char *header;
|
||||||
static const char *header = "\n\
|
extern const char *dbus_includes;
|
||||||
/*\n\
|
|
||||||
* This file was automatically generated by dbusxx-xml2cpp; DO NOT EDIT!\n\
|
|
||||||
*/\n\
|
|
||||||
\n\
|
|
||||||
";
|
|
||||||
|
|
||||||
static const char *dbus_includes = "\n\
|
|
||||||
#include <dbus-c++/dbus.h>\n\
|
|
||||||
#include <cassert>\n\n\
|
|
||||||
\n\
|
|
||||||
";
|
|
||||||
|
|
||||||
/*! Generate proxy code for a XML introspection
|
/*! Generate proxy code for a XML introspection
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -4,6 +4,21 @@
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
const char *tab = " ";
|
||||||
|
|
||||||
|
const char *header = "\n\
|
||||||
|
/*\n\
|
||||||
|
* This file was automatically generated by dbusxx-xml2cpp; DO NOT EDIT!\n\
|
||||||
|
*/\n\
|
||||||
|
\n\
|
||||||
|
";
|
||||||
|
|
||||||
|
const char *dbus_includes = "\n\
|
||||||
|
#include <dbus-c++/dbus.h>\n\
|
||||||
|
#include <cassert>\n\n\
|
||||||
|
\n\
|
||||||
|
";
|
||||||
|
|
||||||
const char *atomic_type_to_string(char t)
|
const char *atomic_type_to_string(char t)
|
||||||
{
|
{
|
||||||
static struct { char type; const char *name; } atos[] =
|
static struct { char type; const char *name; } atos[] =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue