#ifndef __MODEST_DND_H__
#define __MODEST_DND_H__
-G_BEGIN_DECLS
+#include <gdk/gdk.h>
+#include <gtk/gtk.h>
-#define ROW_REF_DATA_NAME "row-ref"
+extern GdkAtom tree_path_as_string_list_atom;
+
+#define GTK_TREE_PATH_AS_STRING_LIST "text/tree-path-as-string-list"
enum {
- FOLDER_ROW,
- HEADER_ROW
+ MODEST_FOLDER_ROW,
+ MODEST_HEADER_ROW
};
-G_END_DECLS
+/**
+ * modest_dnd_selection_data_set_paths:
+ * @selection_data:
+ * @selected_rows:
+ *
+ * This function sets a list of gtk_tree_path's represented as strings
+ * as the data of a #GtkSelectionData object that will be used during
+ * drag and drop
+ **/
+void modest_dnd_selection_data_set_paths (GtkSelectionData *selection_data,
+ GList *selected_rows);
+
+
+/**
+ * modest_dnd_selection_data_get_paths:
+ * @selection_data:
+ *
+ * This function gets a list of gtk_tree_path's represented as strings
+ * from a #GtkSelectionData object used during drag and drop
+ *
+ * Returns: the list of gtk_tree_paths as strings or NULL
+ **/
+gchar** modest_dnd_selection_data_get_paths (GtkSelectionData *selection_data);
#endif /* __MODEST_DND_H__ */