diff options
author | Jon Trowbridge <trow@ximian.com> | 2001-03-18 11:04:54 +0800 |
---|---|---|
committer | Jon Trowbridge <trow@src.gnome.org> | 2001-03-18 11:04:54 +0800 |
commit | 36c7b8c8ff6c8c711058788ff91a586527280e39 (patch) | |
tree | f88231b873cb274cd9f3f88ddbf49167d869aa29 /composer | |
parent | be6335128da92389defd81dc58132387f1f400d8 (diff) | |
download | gsoc2013-evolution-36c7b8c8ff6c8c711058788ff91a586527280e39.tar.gz gsoc2013-evolution-36c7b8c8ff6c8c711058788ff91a586527280e39.tar.zst gsoc2013-evolution-36c7b8c8ff6c8c711058788ff91a586527280e39.zip |
Tag all queued ops. (e_book_cancel_op): Added. Search for a pending op
2001-03-17 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-book.c (e_book_queue_op): Tag all queued ops.
(e_book_cancel_op): Added. Search for a pending op with a given
tag, and mark it as inactive.
(e_book_do_response_get_cursor): Don't execute callback if this
operations has been cancelled.
(e_book_do_response_get_view): Ditto.
(e_book_do_response_get_changes): Ditto.
(e_book_do_response_get_supported_fields): Ditto.
(e_book_get_supported_fields): Return an operation tag (that can
be used to cancel the operation) rather than just TRUE/FALSE.
Zero is always an invalid tag and is returned in the case of an
error, so this shouldn't break any code that looked at the return
value (unless it did so in a particularly stupid way, of course).
(e_book_get_cursor): Ditto.
(e_book_get_book_view): Ditto.
(e_book_get_changes): Ditto.
(e_book_cancel): Added. Cancel a pending operation. (Basically
a call to e_book_cancel_op with error checking, etc.)
* backend/ebook/e-book-types.h: Added E_BOOK_STATUS_CANCELLED.
svn path=/trunk/; revision=8790
Diffstat (limited to 'composer')
0 files changed, 0 insertions, 0 deletions