Commit Graph

14 Commits

Author SHA1 Message Date
Aleksander Morgado
ebf7f790a6 build,build-aux: include missing `mm-errors-quarks-template.c' file in dist 2012-10-04 12:25:26 +02:00
Aleksander Morgado
8bdf70e1c2 docs: include documentation for enum/flags helpers 2012-10-04 10:17:13 +02:00
Aleksander Morgado
961290ddd7 build: autogenerate `mm-errors-quarks.c'
We define custom nicks for each error enum, matching the DBus error entry that
we want to have with each of them.
2012-03-16 14:53:23 +01:00
Aleksander Morgado
b34d14ba5b api,header: include default DBus path prefix for SMS objects 2012-03-15 14:14:59 +01:00
Aleksander Morgado
885042e365 api,header: define common object prefixes in the daemon header 2012-03-15 14:14:55 +01:00
Aleksander Morgado
d5b74be899 build: fix errors template
Equivalent to the fix in d15b1f201 applied to the enums template.

Spotted by Nathan Williams.
2012-03-15 14:14:53 +01:00
Aleksander Morgado
04fc34fab8 build: autogenerate enum/flags string getter/builders
Each enum will have its own #_get_string (),
and each flags will have its own #_build_string_from_mask ().
2012-03-15 14:14:52 +01:00
Aleksander Morgado
4016a1ec20 build: require glib 2.30.2
So that we get the following fix in glib-mkenums:
https://bugzilla.gnome.org/show_bug.cgi?id=661797
2012-03-15 14:14:46 +01:00
Aleksander Morgado
d22def9309 build: let enum and error templates be completely generic
Don't include anything in the templates specific to the file to be built, like
#ifdef guards in headers or #include in sources.
2012-03-15 14:14:34 +01:00
Aleksander Morgado
49bbaf8e31 build: disable autogeneration of the 0.5 API header file
But keep it around as a static file, while we do the migration to the new
interface.
2012-03-15 14:14:19 +01:00
Aleksander Morgado
23367c7186 libmm-common: include Errors type information
The code to handle the Errors type information is automatically built with
`glib-mkenums' and the new templates kept under `build-aux'.
2012-03-15 14:14:18 +01:00
Aleksander Morgado
0e9ed6e5fe libmm-common: include Enums and Flags type information
The code to handle the Enums and Flags type information is automatically built
with `glib-mkenums' and the new templates kept under `build-aux'.

Note: We currently skip the type information of `MMModemBand'. GFlagsValue
can hold only 32-bit types, and we're working with a 64-bit flag here.
See: https://bugzilla.gnome.org/show_bug.cgi?id=663054
2012-03-15 14:14:18 +01:00
Aleksander Morgado
ff5ea7b76a build: setup autogeneration of names header for the new API
The `include/ModemManager-names.h' autogenerated header includes the list of
Interface, Method, Signal and Property names defined in the DBus API.
2012-03-15 14:14:18 +01:00
Aleksander Morgado
365b906a3e build: setup header generator in its own include/Makefile
Also move helper files to the new `build-aux' directory.
2012-03-15 14:14:18 +01:00