aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-util-enums.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/e-util/e-util-enums.h b/e-util/e-util-enums.h
index b2da504fb2..71cacc6ecb 100644
--- a/e-util/e-util-enums.h
+++ b/e-util/e-util-enums.h
@@ -27,6 +27,19 @@
G_BEGIN_DECLS
+/**
+ * EActivityState:
+ * @E_ACTIVITY_RUNNING:
+ * The #EActivity is running.
+ * @E_ACTIVITY_WAITING:
+ * The #EActivity is waiting to be run.
+ * @E_ACTIVITY_CANCELLED:
+ * The #EActivity has been cancelled.
+ * @E_ACTIVITY_COMPLETED:
+ * The #EActivity has completed.
+ *
+ * Various states of an #EActivity.
+ **/
typedef enum {
E_ACTIVITY_RUNNING,
E_ACTIVITY_WAITING,
@@ -34,6 +47,20 @@ typedef enum {
E_ACTIVITY_COMPLETED
} EActivityState;
+/**
+ * EDurationType:
+ * @E_DURATION_MINUTES:
+ * Duration value is in minutes.
+ * @E_DURATION_HOURS:
+ * Duration value is in hours.
+ * @E_DURATION_DAYS:
+ * Duration value is in days.
+ *
+ * Possible units for a duration or interval value.
+ *
+ * This enumeration is typically used where the numeric value and the
+ * units of the value are shown or recorded separately.
+ **/
typedef enum {
E_DURATION_MINUTES,
E_DURATION_HOURS,