aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.h
diff options
context:
space:
mode:
authorMichael Zucci <zucchi@src.gnome.org>2000-05-02 05:50:46 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-05-02 05:50:46 +0800
commit896c775a526e35d8c201c5ba4a27d6b87b25167c (patch)
tree6d7ea63d741f4c58b88b4ee0aa451facf9568b35 /camel/camel-folder.h
parent188a9f0afa2ac898b9bc90c0301c760a7224d100 (diff)
downloadgsoc2013-evolution-896c775a526e35d8c201c5ba4a27d6b87b25167c.tar
gsoc2013-evolution-896c775a526e35d8c201c5ba4a27d6b87b25167c.tar.gz
gsoc2013-evolution-896c775a526e35d8c201c5ba4a27d6b87b25167c.tar.bz2
gsoc2013-evolution-896c775a526e35d8c201c5ba4a27d6b87b25167c.tar.lz
gsoc2013-evolution-896c775a526e35d8c201c5ba4a27d6b87b25167c.tar.xz
gsoc2013-evolution-896c775a526e35d8c201c5ba4a27d6b87b25167c.tar.zst
gsoc2013-evolution-896c775a526e35d8c201c5ba4a27d6b87b25167c.zip
Removed search_id.
* providers/mbox/camel-mbox-folder.h (CamelMboxFolder): Removed search_id. * providers/mbox/camel-mbox-search.c (camel_mbox_folder_search_cancel): Remove.d (camel_mbox_folder_search_complete): Removed. (camel_mbox_folder_search_by_expression): Changed back to sync api. (struct _searchcontext): Removed cancelled flag. (find_context): Removed. * providers/mbox/camel-mbox-search.h (camel_mbox_folder_search_by_expression): Moved back to sync api. (camel_folder_search_complete): Removed. (camel_folder_search_cancel): Removed. (CamelFolderClass): New function summary_get_by_uid() to get a single summary. (*search*): Moved back to synchronous search api ... *sigh* svn path=/trunk/; revision=2723
Diffstat (limited to 'camel/camel-folder.h')
-rw-r--r--camel/camel-folder.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/camel/camel-folder.h b/camel/camel-folder.h
index 15d8194d2e..b96f3e819c 100644
--- a/camel/camel-folder.h
+++ b/camel/camel-folder.h
@@ -240,15 +240,13 @@ typedef struct {
gboolean (*has_search_capability) (CamelFolder *folder);
- int (*search_by_expression) (CamelFolder *folder, const char *expression,
- CamelSearchFunc *func, void *data, CamelException *ex);
- gboolean (*search_complete)(CamelFolder *folder, int searchid, gboolean wait, CamelException *ex);
- void (*search_cancel) (CamelFolder *folder, int searchid, CamelException *ex);
+ GList * (*search_by_expression) (CamelFolder *folder, const char *expression, CamelException *ex);
/* moved the old summary stuff from camel-folder-summary.h here */
GPtrArray * (*get_subfolder_info) (CamelFolder *, int first, int count);
GPtrArray * (*get_message_info) (CamelFolder *, int first, int count);
+ const CamelMessageInfo * (*summary_get_by_uid) (CamelFolder *, const char *uid);
} CamelFolderClass;
@@ -355,10 +353,7 @@ GList * camel_folder_get_uid_list (CamelFolder *folder,
/* search api */
gboolean camel_folder_has_search_capability (CamelFolder *folder);
-int camel_folder_search_by_expression(CamelFolder *folder, const char *expression,
- CamelSearchFunc *func, void *data, CamelException *ex);
-gboolean camel_folder_search_complete(CamelFolder *folder, int searchid, gboolean wait, CamelException *ex);
-void camel_folder_search_cancel(CamelFolder *folder, int searchid, CamelException *ex);
+GList * camel_folder_search_by_expression(CamelFolder *folder, const char *expression, CamelException *ex);
/* summary info, from the old camel-folder-summary
FIXME: rename these slightly? */
@@ -366,6 +361,8 @@ GPtrArray *camel_folder_summary_get_subfolder_info (CamelFolder *summary,
int first, int count);
GPtrArray *camel_folder_summary_get_message_info (CamelFolder *summary,
int first, int count);
+const CamelMessageInfo *camel_folder_summary_get_by_uid (CamelFolder *summary,
+ const char *uid);
#ifdef __cplusplus
}