diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-11-22 13:07:50 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:19 +0100 |
commit | 6b696056333bbefa19fc5296f14d2f71e2a82594 (patch) | |
tree | e8f3910ce26fe2e79f4a12894c43863c27cb404d /src/mm-errors.h | |
parent | 49bbaf8e31009227b5c5ff1abf95fe6afb40d496 (diff) |
build: chain up new 0.6 API and link against libmm-common
Also removed the MMSerialError implementation from `src/mm-errors.[h|c]', as it
is now included in the new `include/ModemManager-errors.h' header file. All the
other enums and errors without clashing names will be ported afterwards to the
new base code.
Diffstat (limited to 'src/mm-errors.h')
-rw-r--r-- | src/mm-errors.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/mm-errors.h b/src/mm-errors.h index dd11fdc5..a183b70b 100644 --- a/src/mm-errors.h +++ b/src/mm-errors.h @@ -19,21 +19,8 @@ #include <glib-object.h> -enum { - MM_SERIAL_ERROR_OPEN_FAILED = 0, - MM_SERIAL_ERROR_SEND_FAILED = 1, - MM_SERIAL_ERROR_RESPONSE_TIMEOUT = 2, - MM_SERIAL_ERROR_OPEN_FAILED_NO_DEVICE = 3, - MM_SERIAL_ERROR_FLASH_FAILED = 4, - MM_SERIAL_ERROR_NOT_OPEN = 5, -}; - -#define MM_SERIAL_ERROR (mm_serial_error_quark ()) -#define MM_TYPE_SERIAL_ERROR (mm_serial_error_get_type ()) - -GQuark mm_serial_error_quark (void); -GType mm_serial_error_get_type (void); - +#include <ModemManager-errors.h> +#include <mm-errors-types.h> enum { MM_MODEM_ERROR_GENERAL = 0, |