aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-firmware-properties.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-10-03 16:46:31 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-10-04 10:17:12 +0200
commit54c2ee77b018d19098805cd1b7be63a6f4b85ce8 (patch)
tree3f6b82c26eceda8feba90c2cb4e8ae1f99e0c4b9 /libmm-glib/mm-firmware-properties.h
parentdc4656cead106a4f52a2e53ac329d8606d79c23c (diff)
libmm-glib,firmware-properties: improve documentation
Diffstat (limited to 'libmm-glib/mm-firmware-properties.h')
-rw-r--r--libmm-glib/mm-firmware-properties.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/libmm-glib/mm-firmware-properties.h b/libmm-glib/mm-firmware-properties.h
index f2375db6..eb7cae68 100644
--- a/libmm-glib/mm-firmware-properties.h
+++ b/libmm-glib/mm-firmware-properties.h
@@ -55,18 +55,27 @@ struct _MMFirmwarePropertiesClass {
GType mm_firmware_properties_get_type (void);
+const gchar *mm_firmware_properties_get_name (MMFirmwareProperties *self);
+const gchar *mm_firmware_properties_get_version (MMFirmwareProperties *self);
+MMFirmwareImageType mm_firmware_properties_get_image_type (MMFirmwareProperties *self);
+
+/*****************************************************************************/
+/* ModemManager/libmm-glib/mmcli specific methods */
+
+#if defined (_LIBMM_INSIDE_MM) || \
+ defined (_LIBMM_INSIDE_MMCLI) || \
+ defined (LIBMM_GLIB_COMPILATION)
+
MMFirmwareProperties *mm_firmware_properties_new (MMFirmwareImageType image_type,
const gchar *name,
const gchar *version);
MMFirmwareProperties *mm_firmware_properties_new_from_dictionary (GVariant *dictionary,
GError **error);
-const gchar *mm_firmware_properties_get_name (MMFirmwareProperties *properties);
-const gchar *mm_firmware_properties_get_version (MMFirmwareProperties *properties);
-MMFirmwareImageType mm_firmware_properties_get_image_type (MMFirmwareProperties *properties);
-
GVariant *mm_firmware_properties_get_dictionary (MMFirmwareProperties *self);
+#endif
+
G_END_DECLS
#endif /* MM_FIRMWARE_PROPERTIES_H */