#ifndef __MODEST_FOLDER_VIEW_H__
#define __MODEST_FOLDER_VIEW_H__
-#include <tny-account-tree-model.h>
-#include <tny-account-store-iface.h>
+#include <tny-gtk-account-tree-model.h>
+#include <tny-account-store.h>
#include <glib-object.h>
G_BEGIN_DECLS
/* emitted when a folder is clicked */
void (*folder_selected) (ModestFolderView* self,
- TnyMsgFolderIface *folder,
+ TnyFolderIface *folder,
gpointer user_data);
gboolean (*update_model) (ModestFolderView *self,
/**
* modest_folder_view_new:
- * @iface: a TnyAccountStoreIface object
+ * @iface: a ModestTnyAccountStore instance
*
* create a new ModestFolderView instance, based on an account store
*
* Returns: a new GtkWidget (a GtkTreeView-subclass)
*/
-GtkWidget* modest_folder_view_new (TnyAccountStoreIface *iface);
+GtkWidget* modest_folder_view_new (ModestTnyAccountStore *account_store);
/**
gboolean modest_folder_view_is_empty (ModestFolderView *self);
-/**
- * modest_folder_view_update_model:
- * @self: a #ModestFolderView instance
- * @iface: a #TnyAccountStoreIface instance
- *
- * Update the thee model from a given account store.
- *
- * Returns: TRUE on success, FALSE otherwise
- */
-gboolean modest_folder_view_update_model(ModestFolderView *self,
- TnyAccountStoreIface *iface);
-
-
G_END_DECLS
#endif /* __MODEST_FOLDER_VIEW_H__ */