diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-02-27 16:14:58 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-16 14:53:16 +0100 |
commit | 5c73e8d200a16a3f83be475705f61c6e11bec491 (patch) | |
tree | 5f6ab2e6534e4d7bd621d3c1826b121f3b1894c0 /src/mm-modem-firmware.h | |
parent | 17ef0777976b3897972fcc14e5efc09d6bc60b55 (diff) |
build: remove obsolete files
This will very likely create lots of conflicts until the branch gets merged
into master, but anyway...
Diffstat (limited to 'src/mm-modem-firmware.h')
-rw-r--r-- | src/mm-modem-firmware.h | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/src/mm-modem-firmware.h b/src/mm-modem-firmware.h deleted file mode 100644 index 7e69155b..00000000 --- a/src/mm-modem-firmware.h +++ /dev/null @@ -1,72 +0,0 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details: - * - * Copyright (C) 2011 The Chromium OS Authors - */ - -#ifndef MM_MODEM_FIRMWARE_H -#define MM_MODEM_FIRMWARE_H - -#include <mm-modem.h> - -#define MM_TYPE_MODEM_FIRMWARE (mm_modem_firmware_get_type ()) -#define MM_MODEM_FIRMWARE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MM_TYPE_MODEM_FIRMWARE, MMModemFirmware)) -#define MM_IS_MODEM_FIRMWARE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MM_TYPE_MODEM_FIRMWARE)) -#define MM_MODEM_FIRMWARE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), MM_TYPE_MODEM_FIRMWARE, MMModemFirmware)) - -typedef struct _MMModemFirmware MMModemFirmware; - -typedef void (*MMModemFirmwareListFn) (MMModemFirmware *modem, - const char *selected, - GHashTable *installed, - GHashTable *available, - GError *error, - gpointer user_data); - -struct _MMModemFirmware { - GTypeInterface g_iface; - - /* Methods */ - void (*list) (MMModemFirmware *modem, - MMModemFirmwareListFn callback, - gpointer user_data); - - void (*select) (MMModemFirmware *modem, - const char *slot, - MMModemFn callback, - gpointer user_data); - - void (*install) (MMModemFirmware *modem, - const char *image, - const char *slot, - MMModemFn callback, - gpointer user_data); -}; - -GType mm_modem_firmware_get_type (void); - -void mm_modem_firmware_list (MMModemFirmware *self, - MMModemFirmwareListFn callback, - gpointer user_data); - -void mm_modem_firmware_select (MMModemFirmware *self, - const char *slot, - MMModemFn callback, - gpointer user_data); - -void mm_modem_firmware_install (MMModemFirmware *self, - const char *image, - const char *slot, - MMModemFn callback, - gpointer user_data); - -#endif /* MM_MODEM_FIRMWARE_H */ |