From 6b696056333bbefa19fc5296f14d2f71e2a82594 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 22 Nov 2011 13:07:50 +0100 Subject: 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. --- src/mm-errors.h | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'src/mm-errors.h') 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 -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 +#include enum { MM_MODEM_ERROR_GENERAL = 0, -- cgit v1.2.3-70-g09d2