summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-enums.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-03-18 11:20:07 +0000
committerRichard Hughes <richard@hughsie.com>2014-03-18 11:21:38 +0000
commit3bd7010c35ff0cc7458716a3ec17834fed6a6c57 (patch)
tree8db1e136c1053c2ee345c78c72553defb9d7d7c3 /libappstream-glib/as-enums.h
parentac87950adcf2c61c927e51439e1201c32213eb39 (diff)
downloadappstream-glib-3bd7010c35ff0cc7458716a3ec17834fed6a6c57.tar.gz
Add gtk-doc file headers and flesh out the documentation
Diffstat (limited to 'libappstream-glib/as-enums.h')
-rw-r--r--libappstream-glib/as-enums.h54
1 files changed, 41 insertions, 13 deletions
diff --git a/libappstream-glib/as-enums.h b/libappstream-glib/as-enums.h
index 5521fc9..6aa4f8f 100644
--- a/libappstream-glib/as-enums.h
+++ b/libappstream-glib/as-enums.h
@@ -30,30 +30,58 @@
G_BEGIN_DECLS
+/**
+ * AsIdKind:
+ * @AS_ID_KIND_UNKNOWN: Type invalid or not known
+ * @AS_ID_KIND_DESKTOP: A desktop application
+ * @AS_ID_KIND_FONT: A font add-on
+ * @AS_ID_KIND_CODEC: A codec add-on
+ * @AS_ID_KIND_INPUT_METHOD: A input method add-on
+ * @AS_ID_KIND_WEB_APP: A web appication
+ * @AS_ID_KIND_SOURCE: A software source
+ *
+ * The ID type.
+ **/
typedef enum {
- AS_ID_KIND_UNKNOWN,
- AS_ID_KIND_DESKTOP,
- AS_ID_KIND_FONT,
- AS_ID_KIND_CODEC,
- AS_ID_KIND_INPUT_METHOD,
- AS_ID_KIND_WEB_APP,
- AS_ID_KIND_SOURCE,
+ AS_ID_KIND_UNKNOWN, /* Since: 0.1.0 */
+ AS_ID_KIND_DESKTOP, /* Since: 0.1.0 */
+ AS_ID_KIND_FONT, /* Since: 0.1.0 */
+ AS_ID_KIND_CODEC, /* Since: 0.1.0 */
+ AS_ID_KIND_INPUT_METHOD, /* Since: 0.1.0 */
+ AS_ID_KIND_WEB_APP, /* Since: 0.1.0 */
+ AS_ID_KIND_SOURCE, /* Since: 0.1.0 */
/*< private >*/
AS_ID_KIND_LAST
} AsIdKind;
+/**
+ * AsIconKind:
+ * @AS_ICON_KIND_UNKNOWN: Type invalid or not known
+ * @AS_ICON_KIND_STOCK: Stock icon or present in the generic icon theme
+ * @AS_ICON_KIND_CACHED: An icon shipped with the AppStream metadata
+ * @AS_ICON_KIND_REMOTE: An icon referenced by a remote URL
+ *
+ * The icon type.
+ **/
typedef enum {
- AS_ICON_KIND_UNKNOWN,
- AS_ICON_KIND_STOCK,
- AS_ICON_KIND_CACHED,
- AS_ICON_KIND_REMOTE,
+ AS_ICON_KIND_UNKNOWN, /* Since: 0.1.0 */
+ AS_ICON_KIND_STOCK, /* Since: 0.1.0 */
+ AS_ICON_KIND_CACHED, /* Since: 0.1.0 */
+ AS_ICON_KIND_REMOTE, /* Since: 0.1.0 */
/*< private >*/
AS_ICON_KIND_LAST
} AsIconKind;
+/**
+ * AsUrlKind:
+ * @AS_URL_KIND_UNKNOWN: Type invalid or not known
+ * @AS_URL_KIND_HOMEPAGE: Application project homepage
+ *
+ * The URL type.
+ **/
typedef enum {
- AS_URL_KIND_UNKNOWN,
- AS_URL_KIND_HOMEPAGE,
+ AS_URL_KIND_UNKNOWN, /* Since: 0.1.0 */
+ AS_URL_KIND_HOMEPAGE, /* Since: 0.1.0 */
/*< private >*/
AS_URL_KIND_LAST
} AsUrlKind;