diff options
Diffstat (limited to 'libmm-glib/mm-sms-properties.h')
-rw-r--r-- | libmm-glib/mm-sms-properties.h | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/libmm-glib/mm-sms-properties.h b/libmm-glib/mm-sms-properties.h index f02d641b..1012c7f4 100644 --- a/libmm-glib/mm-sms-properties.h +++ b/libmm-glib/mm-sms-properties.h @@ -36,24 +36,26 @@ typedef struct _MMSmsProperties MMSmsProperties; typedef struct _MMSmsPropertiesClass MMSmsPropertiesClass; typedef struct _MMSmsPropertiesPrivate MMSmsPropertiesPrivate; +/** + * MMSmsProperties: + * + * The #MMSmsProperties structure contains private data and should only be + * accessed using the provided API. + */ struct _MMSmsProperties { + /*< private >*/ GObject parent; MMSmsPropertiesPrivate *priv; }; struct _MMSmsPropertiesClass { + /*< private >*/ GObjectClass parent; }; GType mm_sms_properties_get_type (void); MMSmsProperties *mm_sms_properties_new (void); -MMSmsProperties *mm_sms_properties_new_from_string (const gchar *str, - GError **error); -MMSmsProperties *mm_sms_properties_new_from_dictionary (GVariant *dictionary, - GError **error); - -MMSmsProperties *mm_sms_properties_dup (MMSmsProperties *orig); void mm_sms_properties_set_text (MMSmsProperties *self, const gchar *text); @@ -84,8 +86,24 @@ guint mm_sms_properties_get_validity (MMSmsProperties *se guint mm_sms_properties_get_class (MMSmsProperties *self); gboolean mm_sms_properties_get_delivery_report_request (MMSmsProperties *self); +/*****************************************************************************/ +/* ModemManager/libmm-glib/mmcli specific methods */ + +#if defined (_LIBMM_INSIDE_MM) || \ + defined (_LIBMM_INSIDE_MMCLI) || \ + defined (LIBMM_GLIB_COMPILATION) + +MMSmsProperties *mm_sms_properties_new_from_string (const gchar *str, + GError **error); +MMSmsProperties *mm_sms_properties_new_from_dictionary (GVariant *dictionary, + GError **error); + +MMSmsProperties *mm_sms_properties_dup (MMSmsProperties *orig); + GVariant *mm_sms_properties_get_dictionary (MMSmsProperties *self); +#endif + G_END_DECLS #endif /* MM_SMS_PROPERTIES_H */ |