X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgioenums.h;h=1ca5be5585d8624615f321ae2eeb3d4a1ffb76c2;hb=7103484017ff000d01ed94567539d37fa09b32b2;hp=b9846b451179c87c6fbbceeb4c18c5d59407cef4;hpb=2a27b7252243b0eaceeb9fbc6ecba1b3a3b36905;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gioenums.h b/gio/gioenums.h index b9846b4..1ca5be5 100644 --- a/gio/gioenums.h +++ b/gio/gioenums.h @@ -1366,6 +1366,7 @@ typedef enum * @G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED: The native credentials type is a struct cmsgcred. * @G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED: The native credentials type is a struct sockpeercred. Added in 2.30. * @G_CREDENTIALS_TYPE_SOLARIS_UCRED: The native credentials type is a ucred_t. Added in 2.40. + * @G_CREDENTIALS_TYPE_NETBSD_UNPCBID: The native credentials type is a struct unpcbid. * * Enumeration describing different kinds of native credential types. * @@ -1377,7 +1378,8 @@ typedef enum G_CREDENTIALS_TYPE_LINUX_UCRED, G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED, G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED, - G_CREDENTIALS_TYPE_SOLARIS_UCRED + G_CREDENTIALS_TYPE_SOLARIS_UCRED, + G_CREDENTIALS_TYPE_NETBSD_UNPCBID } GCredentialsType; /** @@ -1783,6 +1785,32 @@ typedef enum { G_SUBPROCESS_FLAGS_INHERIT_FDS = (1u << 7) } GSubprocessFlags; +/** + * GNotificationPriority: + * @G_NOTIFICATION_PRIORITY_LOW: for notifications that do not require + * immediate attention - typically used for contextual background + * information, such as contact birthdays or local weather + * @G_NOTIFICATION_PRIORITY_NORMAL: the default priority, to be used for the + * majority of notifications (for example email messages, software updates, + * completed download/sync operations) + * @G_NOTIFICATION_PRIORITY_HIGH: for events that require more attention, + * usually because responses are time-sensitive (for example chat and SMS + * messages or alarms) + * @G_NOTIFICATION_PRIORITY_URGENT: for urgent notifications, or notifications + * that require a response in a short space of time (for example phone calls + * or emergency warnings) + * + * Priority levels for #GNotifications. + * + * Since: 2.42 + */ +typedef enum { + G_NOTIFICATION_PRIORITY_NORMAL, + G_NOTIFICATION_PRIORITY_LOW, + G_NOTIFICATION_PRIORITY_HIGH, + G_NOTIFICATION_PRIORITY_URGENT +} GNotificationPriority; + G_END_DECLS #endif /* __GIO_ENUMS_H__ */