#include <gtk/gtkdialog.h>
G_BEGIN_DECLS
-#define HILDON_TYPE_GET_PASSWORD_DIALOG \
- ( hildon_get_password_dialog_get_type() )
+
+#define HILDON_TYPE_GET_PASSWORD_DIALOG ( hildon_get_password_dialog_get_type() )
+
#define HILDON_GET_PASSWORD_DIALOG(obj) \
(GTK_CHECK_CAST (obj, HILDON_TYPE_GET_PASSWORD_DIALOG,\
HildonGetPasswordDialog))
+
#define HILDON_GET_PASSWORD_DIALOG_CLASS(klass) \
(GTK_CHECK_CLASS_CAST ((klass), HILDON_TYPE_GET_PASSWORD_DIALOG, \
HildonGetPasswordDialogClass))
+
#define HILDON_IS_GET_PASSWORD_DIALOG(obj) \
(GTK_CHECK_TYPE (obj, HILDON_TYPE_GET_PASSWORD_DIALOG))
+
#define HILDON_IS_GET_PASSWORD_DIALOG_CLASS(klass) \
(GTK_CHECK_CLASS_TYPE ((klass), HILDON_TYPE_GET_PASSWORD_DIALOG))
-#define HILDON_GET_PASSWORD_DIALOG_TITLE "ecdg_ti_get_old_password"
-#define HILDON_GET_PASSWORD_DIALOG_PASSWORD \
- "ecdg_fi_get_old_pwd_enter_pwd"
-#define HILDON_GET_PASSWORD_DIALOG_OK "ecdg_bd_get_old_password_dialog_ok"
-#define HILDON_GET_PASSWORD_DIALOG_CANCEL \
- "ecdg_bd_get_old_password_dialog_cancel"
-
-#define HILDON_GET_PASSWORD_VERIFY_DIALOG_TITLE \
- "ecdg_ti_verify_password"
-#define HILDON_GET_PASSWORD_VERIFY_DIALOG_PASSWORD \
- "ecdg_fi_verify_pwd_enter_pwd"
-#define HILDON_GET_PASSWORD_VERIFY_DIALOG_OK \
- "ecdg_bd_verify_password_dialog_ok"
-#define HILDON_GET_PASSWORD_VERIFY_DIALOG_CANCEL \
- "ecdg_bd_verify_password_dialog_cancel"
-#define HILDON_GET_PASSWORD_DIALOG_MAX_CHARS \
- "ckdg_ib_maximum_characters_reached"
-
-typedef struct _HildonGetPasswordDialog HildonGetPasswordDialog;
+
+#define HILDON_GET_PASSWORD_DIALOG_TITLE "ecdg_ti_get_old_password"
+#define HILDON_GET_PASSWORD_DIALOG_PASSWORD "ecdg_fi_get_old_pwd_enter_pwd"
+#define HILDON_GET_PASSWORD_DIALOG_OK "ecdg_bd_get_old_password_dialog_ok"
+#define HILDON_GET_PASSWORD_DIALOG_CANCEL "ecdg_bd_get_old_password_dialog_cancel"
+
+#define HILDON_GET_PASSWORD_VERIFY_DIALOG_TITLE "ecdg_ti_verify_password"
+#define HILDON_GET_PASSWORD_VERIFY_DIALOG_PASSWORD "ecdg_fi_verify_pwd_enter_pwd"
+#define HILDON_GET_PASSWORD_VERIFY_DIALOG_OK "ecdg_bd_verify_password_dialog_ok"
+#define HILDON_GET_PASSWORD_VERIFY_DIALOG_CANCEL "ecdg_bd_verify_password_dialog_cancel"
+
+#define HILDON_GET_PASSWORD_DIALOG_MAX_CHARS "ckdg_ib_maximum_characters_reached"
+
+typedef struct _HildonGetPasswordDialog HildonGetPasswordDialog;
typedef struct _HildonGetPasswordDialogClass HildonGetPasswordDialogClass;
struct _HildonGetPasswordDialog {
GtkDialogClass parent_class;
};
-GType hildon_get_password_dialog_get_type(void) G_GNUC_CONST;
+GType hildon_get_password_dialog_get_type(void) G_GNUC_CONST;
-GtkWidget *hildon_get_password_dialog_new(GtkWindow * parent,
- gboolean get_old_password_title);
+GtkWidget *hildon_get_password_dialog_new (GtkWindow *parent,
+ gboolean get_old_password_title);
-GtkWidget *hildon_get_password_dialog_new_with_default(GtkWindow *parent,
- const gchar *password,
- gboolean get_old_password_title);
+GtkWidget *hildon_get_password_dialog_new_with_default (GtkWindow *parent,
+ const gchar *password,
+ gboolean get_old_password_title);
-void hildon_get_password_dialog_set_domain(HildonGetPasswordDialog *dialog,
- const gchar *domain);
+void hildon_get_password_dialog_set_domain (HildonGetPasswordDialog *dialog,
+ const gchar *domain);
-void hildon_get_password_dialog_set_title(HildonGetPasswordDialog *dialog,
- const gchar *new_title);
+void hildon_get_password_dialog_set_caption (HildonGetPasswordDialog *dialog,
+ const gchar *new_caption);
-void hildon_get_password_dialog_set_caption(HildonGetPasswordDialog *dialog,
- const gchar *new_caption);
+void hildon_get_password_dialog_set_max_characters(HildonGetPasswordDialog *dialog,
+ gint max_characters);
+const gchar * hildon_get_password_dialog_get_password(HildonGetPasswordDialog * dialog);
-void hildon_get_password_dialog_set_max_characters(HildonGetPasswordDialog *dialog,
- gint max_characters);
-const gchar
- *hildon_get_password_dialog_get_password(HildonGetPasswordDialog *
- dialog);
+#ifndef HILDON_DISABLE_DEPRECATED
+void hildon_get_password_dialog_set_title (HildonGetPasswordDialog *dialog,
+ const gchar *new_title);
+#endif /* HILDON_DISABLE_DEPRECATED */
G_END_DECLS
-#endif
+#endif /* __HILDON_GET_PASSWORD_DIALOG_H__ */