|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|