aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs/query-backend.c
Commit message (Collapse)AuthorAgeFilesLines
* Initialize loaded_backends before using it. (Just kills off a harmlessDan Winship2002-08-091-2/+3
| | | | | | | | * pcs/query-backend.c (query_backend_new): Initialize loaded_backends before using it. (Just kills off a harmless g_warning.) svn path=/trunk/; revision=17745
* new function. (query_backend_get_uids): new function. (query_backend_new):Rodrigo Moya2002-08-061-13/+111
| | | | | | | | | | | | | | | | | | | | 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
* new class for implementing a backend cache for the calendar queries.Rodrigo Moya2002-08-011-0/+269
2002-07-31 Rodrigo Moya <rodrigo@ximian.com> * pcs/query-backend.[ch]: new class for implementing a backend cache for the calendar queries. * pcs/Makefile.am: added new files. svn path=/trunk/; revision=17668