From 6e1b023154b916012e1fb5d629b7118081bd457a Mon Sep 17 00:00:00 2001 From: Jon Trowbridge Date: Sun, 11 Mar 2001 07:13:43 +0000 Subject: Added. A simplified, cancellable query mechanism that lets you avoid 2001-03-11 Jon Trowbridge * backend/ebook/e-book.c (e_book_simple_query): Added. A simplified, cancellable query mechanism that lets you avoid dealing with EBookView. (e_book_simple_query_cancel): Added. Cancels a running query. * backend/ebook/e-book-types.h: Add enum EBookSimpleQueryStatus. svn path=/trunk/; revision=8627 --- addressbook/backend/ebook/e-book-types.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'addressbook/backend/ebook/e-book-types.h') diff --git a/addressbook/backend/ebook/e-book-types.h b/addressbook/backend/ebook/e-book-types.h index a3e8bbc032..2ce1956080 100644 --- a/addressbook/backend/ebook/e-book-types.h +++ b/addressbook/backend/ebook/e-book-types.h @@ -26,6 +26,12 @@ typedef enum { E_BOOK_STATUS_OTHER_ERROR } EBookStatus; +typedef enum { + E_BOOK_SIMPLE_QUERY_STATUS_SUCCESS, + E_BOOK_SIMPLE_QUERY_STATUS_CANCELLED, + E_BOOK_SIMPLE_QUERY_STATUS_OTHER_ERROR +} EBookSimpleQueryStatus; + END_GNOME_DECLS #endif /* ! __E_BOOK_TYPES_H__ */ -- cgit v1.2.3