diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2002-08-06 22:09:18 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2002-08-06 22:09:18 +0800 |
commit | 8f6536de284ed25c263ac7ac2a4b1c840e71da7f (patch) | |
tree | 1339f815ad4e0958f69efa3deed4885bf80d29cd /calendar/pcs/query-backend.h | |
parent | 1402b68e05a1f701bed2a9cb377fe02cbe69109e (diff) | |
download | gsoc2013-evolution-8f6536de284ed25c263ac7ac2a4b1c840e71da7f.tar gsoc2013-evolution-8f6536de284ed25c263ac7ac2a4b1c840e71da7f.tar.gz gsoc2013-evolution-8f6536de284ed25c263ac7ac2a4b1c840e71da7f.tar.bz2 gsoc2013-evolution-8f6536de284ed25c263ac7ac2a4b1c840e71da7f.tar.lz gsoc2013-evolution-8f6536de284ed25c263ac7ac2a4b1c840e71da7f.tar.xz gsoc2013-evolution-8f6536de284ed25c263ac7ac2a4b1c840e71da7f.tar.zst gsoc2013-evolution-8f6536de284ed25c263ac7ac2a4b1c840e71da7f.zip |
new function. (query_backend_get_uids): new function. (query_backend_new):
2002-08-05 Rodrigo Moya <rodrigo@ximian.com>
* pcs/query-backend.[ch] (query_backend_get_object_component): new
function.
(query_backend_get_uids): new function.
(query_backend_new): create the static GHashTable if it hasn't been
created yet.
(query_backend_destroy): destroy the static GHashTable if empty.
(foreach_uid_cb): call object_updated_cb, which does everything.
* pcs/query.c: make use of the new QueryBackend class.
(query_init): initialize new private structure member.
(query_destroy): clean up new member, without freeing it, since it is
managed internally in query-backend.c.
(query_construct): create a QueryBackend for the query.
svn path=/trunk/; revision=17713
Diffstat (limited to 'calendar/pcs/query-backend.h')
-rw-r--r-- | calendar/pcs/query-backend.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/pcs/query-backend.h b/calendar/pcs/query-backend.h index 835c42a8fd..9a581757a7 100644 --- a/calendar/pcs/query-backend.h +++ b/calendar/pcs/query-backend.h @@ -47,6 +47,8 @@ typedef struct { GtkType query_backend_get_type (void); QueryBackend *query_backend_new (Query *query, CalBackend *backend); +GList *query_backend_get_uids (QueryBackend *qb, CalObjType type); +CalComponent *query_backend_get_object_component (QueryBackend *qb, const char *uid); END_GNOME_DECLS |