diff options
author | Stef Walter <stefw@redhat.com> | 2014-01-10 11:08:16 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-02-24 11:15:02 +0100 |
commit | c2cc119de8eac712c040b3993f41c967ff2278de (patch) | |
tree | 78d67aaa9467a1f5cf4ab5fcfe76c3eed7fb50c1 /src/tests/sbus_codegen_tests_generated.h | |
parent | 769347ad4d35d43488eb98f980143495b0db415d (diff) | |
download | sssd-c2cc119de8eac712c040b3993f41c967ff2278de.tar.gz sssd-c2cc119de8eac712c040b3993f41c967ff2278de.tar.xz sssd-c2cc119de8eac712c040b3993f41c967ff2278de.zip |
sbus: Generate constants from interface definitions
This is not strictly necessary, but avoids duplicating data
in mulitple places, and makes the interface definitions
benefit dbus callers (a little).
After applying this commit you may need to 'make clean' as
the codegen has changed.
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Reviewed-by: Sumit Bose <sbose@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'src/tests/sbus_codegen_tests_generated.h')
-rw-r--r-- | src/tests/sbus_codegen_tests_generated.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/tests/sbus_codegen_tests_generated.h b/src/tests/sbus_codegen_tests_generated.h index 3f7621588..f41eca74b 100644 --- a/src/tests/sbus_codegen_tests_generated.h +++ b/src/tests/sbus_codegen_tests_generated.h @@ -6,6 +6,23 @@ #include "sbus/sssd_dbus.h" /* ------------------------------------------------------------------------ + * DBus Constants + * + * Various constants of interface and method names mostly for use by clients + */ + +/* constants for com.planetexpress.Ship */ +#define COM_PLANETEXPRESS_SHIP "com.planetexpress.Ship" +#define COM_PLANETEXPRESS_SHIP_MOVEUNIVERSE "MoveUniverse" +#define COM_PLANETEXPRESS_SHIP_CRASH_NOW "Crash" +#define COM_PLANETEXPRESS_SHIP_BECAMESENTIENT "BecameSentient" +#define COM_PLANETEXPRESS_SHIP_COLOR "Color" + +/* constants for com.planetexpress.Pilot */ +#define TEST_PILOT "com.planetexpress.Pilot" +#define TEST_PILOT_FULLNAME "FullName" + +/* ------------------------------------------------------------------------ * DBus Vtable handler structures * * These structures are filled in by implementors of the different |