* check for a valid foldername
[modest] / src / modest-widget-memory.h
index a330568..59879e9 100644 (file)
 #ifndef __MODEST_WIDGET_MEMORY_H__
 #define __MODEST_WIDGET_MEMORY_H__
 
-#include <gtk/gtk.h>
-#include "modest-conf.h"
-#include "modest-conf-keys.h"
+#include <modest-conf.h>
 
 G_BEGIN_DECLS
 
 /**
- * modest_widget_memory_save_settings:
- * @self: a ModestConf instance
+ * modest_widget_memory_save:
+ * @conf: a ModestConf instance
  * @widget: the widget to save the settings for
  * @name: the unique name for this widget
  * 
@@ -46,21 +44,20 @@ G_BEGIN_DECLS
  * 
  * Returns: TRUE if succeeded or FALSE in case of error.
  */
-gboolean modest_widget_memory_save_settings (ModestConf *conf, GtkWidget *widget,
-                                            const gchar *name);
+gboolean modest_widget_memory_save (ModestConf *conf, GObject *widget, const gchar *name);
 
 /**
- * modest_widget_memory_restore_settings:
- * @self: a ModestConf instance
+ * modest_widget_memory_restore:
+ * @conf: a ModestConf instance
  * @widget: the widget to save the settings for
  * @name: the unique name for this widget
- *
+ * 
  * restore the settings for a widget configuration system
  * 
  * Returns: TRUE if succeeded or FALSE in case of error.
  */
-gboolean modest_widget_memory_restore_settings (ModestConf *conf, GtkWidget *widget,
-                                               const gchar *name);
+gboolean modest_widget_memory_restore (ModestConf *conf, GObject *widget, const gchar *name);
+
 G_END_DECLS
 
 #endif /*__MODEST_WIDGET_MEMORY_H__*/