Fix gtk-doc packaging
[hildon] / src / hildon-get-password-dialog.h
index bca82da..d8d9d25 100644 (file)
@@ -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.
  *
  *
  */
 
-#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 <gtk/gtkdialog.h>
+#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(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);
-
-
-#ifndef HILDON_DISABLE_DEPRECATED
-void       hildon_get_password_dialog_set_title        (HildonGetPasswordDialog *dialog,
-                                                       const gchar             *new_title);
-#endif /* HILDON_DISABLE_DEPRECATED */
+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__ */