X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fhildon-get-password-dialog.h;h=d8d9d25f531da023d8eec75b5be17cc6c5d87325;hb=7cc18180942701cf067dbfe71991afe9315c7485;hp=5cf005b9074accbfac64955a0a7bad2eabe1610d;hpb=4bbc7d8e9d23b70d7ef86291f2cb51dfb40c95dd;p=hildon diff --git a/src/hildon-get-password-dialog.h b/src/hildon-get-password-dialog.h index 5cf005b..d8d9d25 100644 --- a/src/hildon-get-password-dialog.h +++ b/src/hildon-get-password-dialog.h @@ -1,5 +1,5 @@ /* - * This file is part of hildon-libs + * This file is a part of hildon * * Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved. * @@ -22,72 +22,71 @@ * */ -#ifndef __HILDON_GET_PASSWORD_DIALOG_H__ -#define __HILDON_GET_PASSWORD_DIALOG_H__ +#ifndef __HILDON_GET_PASSWORD_DIALOG_H__ +#define __HILDON_GET_PASSWORD_DIALOG_H__ -#include +#include 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(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_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(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_IS_GET_PASSWORD_DIALOG_CLASS(klass) \ + (GTK_CHECK_CLASS_TYPE ((klass), HILDON_TYPE_GET_PASSWORD_DIALOG)) +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" +typedef struct _HildonGetPasswordDialogClass HildonGetPasswordDialogClass; -#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 { +struct _HildonGetPasswordDialog +{ GtkDialog parent; }; -struct _HildonGetPasswordDialogClass { +struct _HildonGetPasswordDialogClass +{ GtkDialogClass parent_class; }; -GType hildon_get_password_dialog_get_type(void) G_GNUC_CONST; +GType G_GNUC_CONST +hildon_get_password_dialog_get_type (void); -GtkWidget *hildon_get_password_dialog_new (GtkWindow *parent, - gboolean get_old); +GtkWidget* +hildon_get_password_dialog_new (GtkWindow *parent, + gboolean get_old); -GtkWidget *hildon_get_password_dialog_new_with_default (GtkWindow *parent, - const gchar *password, - gboolean get_old); +GtkWidget* +hildon_get_password_dialog_new_with_default (GtkWindow *parent, + const gchar *password, + gboolean get_old); -void hildon_get_password_dialog_set_domain (HildonGetPasswordDialog *dialog, - const gchar *domain); +void +hildon_get_password_dialog_set_message (HildonGetPasswordDialog *dialog, + const gchar *message); -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); +void +hildon_get_password_dialog_set_max_characters (HildonGetPasswordDialog *dialog, + gint max_characters); -const gchar * hildon_get_password_dialog_get_password(HildonGetPasswordDialog * dialog); +const gchar* +hildon_get_password_dialog_get_password (HildonGetPasswordDialog *dialog); G_END_DECLS -#endif /* __HILDON_GET_PASSWORD_DIALOG_H__ */ + +#endif /* __HILDON_GET_PASSWORD_DIALOG_H__ */