2021-02-21 20:03:24 +00:00
|
|
|
#ifndef __WINRT_ENUMS_H__
|
|
|
|
#define __WINRT_ENUMS_H__
|
|
|
|
|
|
|
|
#include <glib-object.h>
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2021-02-24 10:08:00 +00:00
|
|
|
#define WINRT_TYPE_WINDOWS_UI_NOTIFICATIONS_TOAST_DISMISSAL_REASON (winrt_windows_ui_notifications_toast_dismissal_reason_get_type ())
|
2021-02-21 20:03:24 +00:00
|
|
|
|
|
|
|
/**
|
2021-02-24 10:08:00 +00:00
|
|
|
* winrt_Windows_UI_Notifications_Toast_Dismissal_Reason:
|
2021-02-24 09:49:49 +00:00
|
|
|
* @WINRT_WINDOWS_UI_NOTIFICATIONS_TOAST_DISMISSAL_REASON_ACTIVATED: Notification was activated, clicked or through
|
2021-02-21 20:03:24 +00:00
|
|
|
* a button
|
2021-02-24 09:49:49 +00:00
|
|
|
* @WINRT_WINDOWS_UI_NOTIFICATIONS_TOAST_DISMISSAL_REASON_APPLICATION_HIDDEN: Application was hidden
|
|
|
|
* @WINRT_WINDOWS_UI_NOTIFICATIONS_TOAST_DISMISSAL_REASON_TIMED_OUT: Notification timed out
|
2021-02-21 20:03:24 +00:00
|
|
|
*
|
|
|
|
* Reasons for a notification dismissal
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
typedef enum {
|
2021-02-24 09:49:49 +00:00
|
|
|
WINRT_WINDOWS_UI_NOTIFICATIONS_TOAST_DISMISSAL_REASON_ACTIVATED,
|
|
|
|
WINRT_WINDOWS_UI_NOTIFICATIONS_TOAST_DISMISSAL_REASON_APPLICATION_HIDDEN,
|
|
|
|
WINRT_WINDOWS_UI_NOTIFICATIONS_TOAST_DISMISSAL_REASON_TIMED_OUT,
|
|
|
|
} winrt_Windows_UI_Notifications_Toast_Dismissal_Reason;
|
2021-02-21 20:03:24 +00:00
|
|
|
|
2021-02-24 09:49:49 +00:00
|
|
|
GType winrt_windows_ui_notifications_toast_dismissal_reason_get_type (void);
|
2021-02-21 20:03:24 +00:00
|
|
|
|
2021-02-24 10:08:00 +00:00
|
|
|
#define WINRT_TYPE_WINDOWS_UI_NOTIFICATIONS_TOAST_TEMPLATE_TYPE (winrt_windows_ui_notifications_toast_template_type_get_type ())
|
|
|
|
|
|
|
|
/**
|
|
|
|
* winrt_Windows_UI_Notifications_Toast_Template_Type:
|
|
|
|
* @WINRT_WINDOWS_UI_NOTIFICATIONS_TOAST_TEMPLATE_TYPE_TOAST_IMAGE_AND_TEXT01
|
|
|
|
* @WINRT_WINDOWS_UI_NOTIFICATIONS_TOAST_TEMPLATE_TYPE_TOAST_IMAGE_AND_TEXT02
|
|
|
|
* @WINRT_WINDOWS_UI_NOTIFICATIONS_TOAST_TEMPLATE_TYPE_TOAST_IMAGE_AND_TEXT03
|
|
|
|
* @WINRT_WINDOWS_UI_NOTIFICATIONS_TOAST_TEMPLATE_TYPE_TOAST_IMAGE_AND_TEXT04
|
|
|
|
* @WINRT_WINDOWS_UI_NOTIFICATIONS_TOAST_TEMPLATE_TYPE_TOAST_TEXT01
|
|
|
|
* @WINRT_WINDOWS_UI_NOTIFICATIONS_TOAST_TEMPLATE_TYPE_TOAST_TEXT02
|
|
|
|
* @WINRT_WINDOWS_UI_NOTIFICATIONS_TOAST_TEMPLATE_TYPE_TOAST_TEXT03
|
|
|
|
* @WINRT_WINDOWS_UI_NOTIFICATIONS_TOAST_TEMPLATE_TYPE_TOAST_TEXT04
|
|
|
|
*
|
|
|
|
* Basic templates for a toast notification.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
typedef enum {
|
|
|
|
WINRT_WINDOWS_UI_NOTIFICATIONS_TOAST_TEMPLATE_TYPE_TOAST_IMAGE_AND_TEXT01,
|
|
|
|
WINRT_WINDOWS_UI_NOTIFICATIONS_TOAST_TEMPLATE_TYPE_TOAST_IMAGE_AND_TEXT02,
|
|
|
|
WINRT_WINDOWS_UI_NOTIFICATIONS_TOAST_TEMPLATE_TYPE_TOAST_IMAGE_AND_TEXT03,
|
|
|
|
WINRT_WINDOWS_UI_NOTIFICATIONS_TOAST_TEMPLATE_TYPE_TOAST_IMAGE_AND_TEXT04,
|
|
|
|
WINRT_WINDOWS_UI_NOTIFICATIONS_TOAST_TEMPLATE_TYPE_TOAST_TEXT01,
|
|
|
|
WINRT_WINDOWS_UI_NOTIFICATIONS_TOAST_TEMPLATE_TYPE_TOAST_TEXT02,
|
|
|
|
WINRT_WINDOWS_UI_NOTIFICATIONS_TOAST_TEMPLATE_TYPE_TOAST_TEXT03,
|
|
|
|
WINRT_WINDOWS_UI_NOTIFICATIONS_TOAST_TEMPLATE_TYPE_TOAST_TEXT04,
|
|
|
|
} winrt_Windows_UI_Notifications_Toast_Template_Type;
|
|
|
|
|
|
|
|
GType winrt_windows_ui_notifications_toast_template_type_get_type (void);
|
|
|
|
|
2021-02-21 20:03:24 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __WINRT_ENUMS_H__ */
|