diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2011-07-19 09:59:34 +1000 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2011-07-19 09:59:34 +1000 |
commit | 3d7786e4477e096f1dc8bd1ddaad0343c27ba472 (patch) | |
tree | 6539c1951bf7896bdbed974d1bdf63f73f0a2f6c /liblightdm-gobject/lightdm | |
parent | 7d8abb8c241ad20de1cb9583acf63288a6f5c863 (diff) | |
download | lightdm-3d7786e4477e096f1dc8bd1ddaad0343c27ba472.tar.gz |
Add documentation to LdmPromptType and LdmMessageType
Diffstat (limited to 'liblightdm-gobject/lightdm')
-rw-r--r-- | liblightdm-gobject/lightdm/greeter.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/liblightdm-gobject/lightdm/greeter.h b/liblightdm-gobject/lightdm/greeter.h index 7bf5164a..673ff461 100644 --- a/liblightdm-gobject/lightdm/greeter.h +++ b/liblightdm-gobject/lightdm/greeter.h @@ -31,12 +31,22 @@ typedef struct _LdmGreeterClass LdmGreeterClass; #include "layout.h" #include "session.h" +/** + * LdmPromptType: + * @LDM_PROMPT_TYPE_QUESTION: Prompt is a question. The information can be shown as it is entered. + * @LDM_PROMPT_TYPE_SECRET: Prompt is for secret information. The entered information should be obscured so it can't be publically visible. + */ typedef enum { LDM_PROMPT_TYPE_QUESTION, LDM_PROMPT_TYPE_SECRET } LdmPromptType; +/** + * LdmMessageType: + * @LDM_MESSAGE_TYPE_INFO: Informational message. + * @LDM_MESSAGE_TYPE_ERROR: Error message. + */ typedef enum { LDM_MESSAGE_TYPE_INFO, |