aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-folder.h')
-rw-r--r--camel/camel-folder.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/camel/camel-folder.h b/camel/camel-folder.h
index 9e9acc6afd..d0a7ceea02 100644
--- a/camel/camel-folder.h
+++ b/camel/camel-folder.h
@@ -155,9 +155,17 @@ typedef struct {
gboolean (*has_search_capability) (CamelFolder *folder);
- GList * (*search_by_expression) (CamelFolder *folder, const char *expression, CamelException *ex);
+ GList * (*search_by_expression) (CamelFolder *folder,
+ const char *expression,
+ CamelException *ex);
- const CamelMessageInfo * (*summary_get_by_uid) (CamelFolder *, const char *uid);
+ const CamelMessageInfo * (*summary_get_by_uid) (CamelFolder *,
+ const char *uid);
+
+ void (*move_message_to) (CamelFolder *source,
+ const char *uid,
+ CamelFolder *destination,
+ CamelException *ex);
} CamelFolderClass;
@@ -271,6 +279,11 @@ GList * camel_folder_search_by_expression (CamelFolder *folder, const char
const CamelMessageInfo *camel_folder_summary_get_by_uid (CamelFolder *summary,
const char *uid);
+void camel_folder_move_message_to (CamelFolder *source,
+ const char *uid,
+ CamelFolder *dest,
+ CamelException *ex);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */