2009-02-27 Alberto Garcia <agarcia@igalia.com>
[hildon] / src / hildon-code-dialog.h
index adeae10..577fd85 100644 (file)
@@ -1,14 +1,14 @@
 /*
- * This file is part of hildon-libs
+ * This file is a part of hildon
  *
  * Copyright (C) 2006 Nokia Corporation, all rights reserved.
  *
- * Contact: Michael Dominic Kostrzewa <michael.kostrzewa@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
  * as published by the Free Software Foundation; version 2.1 of
- * the License.
+ * the License, or (at your option) any later version.
  *
  * This library is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
  *
  */
 
+#ifndef                                         HILDON_DISABLE_DEPRECATED
+
 #ifndef                                         __HILDON_CODE_DIALOG_H__
 #define                                         __HILDON_CODE_DIALOG_H__
 
-#include                                        <gtk/gtkdialog.h>
+#include                                        <gtk/gtk.h>
 
 G_BEGIN_DECLS
 
@@ -60,6 +62,7 @@ struct                                          _HildonCodeDialog
 struct _HildonCodeDialogClass
 {
     GtkDialogClass parent_class;
+    void (*input) (HildonCodeDialog *dialog);
 };
 
 GType G_GNUC_CONST
@@ -78,6 +81,12 @@ void
 hildon_code_dialog_set_help_text                (HildonCodeDialog *dialog,
                                                  const gchar *text);
 
+void
+hildon_code_dialog_set_input_sensitive          (HildonCodeDialog *dialog, 
+                                                 gboolean sensitive);
+
 G_END_DECLS
 
 #endif                                          /* __HILDON_CODE_DIALOG_H__ */
+
+#endif                                          /* HILDON_DISABLE_DEPRECATED */