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 09:49:49 +00:00
|
|
|
#define WINRT_TYPE_DISMISSED_REASON (winrt_windows_ui_notifications_toast_dismissal_reason_get_type ())
|
2021-02-21 20:03:24 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* WinrtDismissedReason:
|
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
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __WINRT_ENUMS_H__ */
|