2009-03-12 Alberto Garcia <agarcia@igalia.com>
[hildon] / src / hildon-dialog.h
index dfb11be..37ebd07 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 2008 Nokia Corporation, all rights reserved.
  *
- * Contact: Karl Lattimer <karl.lattimer@nokia.com>
+ * Contact: Rodrigo Novo <rodrigo.novo@nokia.com>
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public License
  *
  */
 
+#ifndef                                         HILDON_DISABLE_DEPRECATED
+
 #ifndef                                         __HILDON_DIALOG_H__
 #define                                         __HILDON_DIALOG_H__
 
-#include                                        <glib.h>
-#include                                        <glib-object.h>
-#include                                        <gtk/gtkdialog.h>
+#include                                        <gtk/gtk.h>
 
 #include                                        "hildon-defines.h"
 
@@ -77,6 +77,25 @@ hildon_dialog_get_type                          (void);
 GtkWidget*
 hildon_dialog_new                               (void);
 
+GtkWidget*
+hildon_dialog_new_with_buttons                  (const gchar    *title,
+                                                 GtkWindow      *parent,
+                                                 GtkDialogFlags  flags,
+                                                 const gchar    *first_button_text,
+                                                 ...);
+
+GtkWidget *
+hildon_dialog_add_button                        (HildonDialog *dialog,
+                                                 const gchar  *button_text,
+                                                 gint          response_id);
+
+void
+hildon_dialog_add_buttons                       (HildonDialog *dialog,
+                                                 const gchar  *first_button_text,
+                                                 ...);
+
 G_END_DECLS
 
 #endif                                          /* __HILDON_DIALOG_H__ */
+
+#endif                                          /* HILDON_DISABLE_DEPRECATED */