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 DBus;
|
||||
|
||||
static const char *tab = " ";
|
||||
|
||||
static const char *header = "\n\
|
||||
/*\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\
|
||||
";
|
||||
extern const char *tab;
|
||||
extern const char *header;
|
||||
extern const char *dbus_includes;
|
||||
|
||||
/*! Generate adaptor code for a XML introspection
|
||||
*/
|
||||
|
|
|
@ -7,20 +7,9 @@
|
|||
using namespace std;
|
||||
using namespace DBus;
|
||||
|
||||
static const char *tab = " ";
|
||||
|
||||
static const char *header = "\n\
|
||||
/*\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\
|
||||
";
|
||||
extern const char *tab;
|
||||
extern const char *header;
|
||||
extern const char *dbus_includes;
|
||||
|
||||
/*! Generate proxy code for a XML introspection
|
||||
*/
|
||||
|
|
|
@ -4,6 +4,21 @@
|
|||
|
||||
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)
|
||||
{
|
||||
static struct { char type; const char *name; } atos[] =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue