summaryrefslogtreecommitdiff
path: root/src/lib/elm_systray_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elm_systray_common.h')
-rw-r--r--src/lib/elm_systray_common.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/lib/elm_systray_common.h b/src/lib/elm_systray_common.h
new file mode 100644
index 000000000..f0871c955
--- /dev/null
+++ b/src/lib/elm_systray_common.h
@@ -0,0 +1,31 @@
+/**
+ * Emitted when the systray is ready to be used by the application.
+ */
+EAPI extern int ELM_EVENT_SYSTRAY_READY;
+
+/**
+ * Category of the Status Notifier Item.
+ *
+ * @since 1.8
+ */
+typedef enum _Elm_Systray_Category
+{
+ ELM_SYSTRAY_CATEGORY_APP_STATUS, /**< Indicators of application status */
+ ELM_SYSTRAY_CATEGORY_COMMUNICATIONS, /**< Communications apps */
+ ELM_SYSTRAY_CATEGORY_SYS_SERVICES, /**< System Service apps */
+ ELM_SYSTRAY_CATEGORY_HARDWARE, /**< Hardware indicators */
+ ELM_SYSTRAY_CATEGORY_OTHER /**< Undefined category */
+} Elm_Systray_Category;
+
+/**
+ * Application status information.
+ *
+ * @since 1.8
+ */
+typedef enum _Elm_Systray_Status
+{
+ ELM_SYSTRAY_STATUS_PASSIVE, /**< Passive (normal) */
+ ELM_SYSTRAY_STATUS_ACTIVE, /**< Active */
+ ELM_SYSTRAY_STATUS_ATTENTION /**< Needs Attention */
+} Elm_Systray_Status;
+