Commit 85aba549 authored by Matthew Barnes's avatar Matthew Barnes
Browse files

Document the enum types in e-util-enums.h.

parent 2eed1987
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment