anotherim-desktop/plugins/windows-notification/api/include/gobject/winrt-enums.h

60 lines
2.6 KiB
C
Raw Normal View History

#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-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
* 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
*
* 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-24 09:49:49 +00:00
GType winrt_windows_ui_notifications_toast_dismissal_reason_get_type (void);
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);
G_END_DECLS
#endif /* __WINRT_ENUMS_H__ */