diff options
author | Chris Toshok <toshok@ximian.com> | 2002-06-30 16:18:44 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-06-30 16:18:44 +0800 |
commit | 987eeb288e6773997f38178747532d894d890d85 (patch) | |
tree | fb7cb27ca212e9e0a920ec4f093f66e64e882058 /tools | |
parent | 6256cb6fe996561bdfdc2e954279eb6ecd3f53d9 (diff) | |
download | gsoc2013-evolution-987eeb288e6773997f38178747532d894d890d85.tar gsoc2013-evolution-987eeb288e6773997f38178747532d894d890d85.tar.gz gsoc2013-evolution-987eeb288e6773997f38178747532d894d890d85.tar.bz2 gsoc2013-evolution-987eeb288e6773997f38178747532d894d890d85.tar.lz gsoc2013-evolution-987eeb288e6773997f38178747532d894d890d85.tar.xz gsoc2013-evolution-987eeb288e6773997f38178747532d894d890d85.tar.zst gsoc2013-evolution-987eeb288e6773997f38178747532d894d890d85.zip |
add pas-backend-summary.[ch].
2002-06-29 Chris Toshok <toshok@ximian.com>
* backend/pas/Makefile.am (libpas_a_SOURCES): add
pas-backend-summary.[ch].
* backend/pas/pas-backend-file.c (string_to_dbt): move this to the
top of the file so it can be used in..
(build_summary): loop over the db, adding cards ot the summary.
(do_summary_query): call pas_backend_summary_search and loop over
the returned id's looking them up in the db.
(pas_backend_file_search): call
pas_backend_summary_is_summary_query, and either call
do_summary_query if it's a query over just the set of attributes
in the summary or use the old, slow method if not.
(pas_backend_file_process_create_card): call
pas_backend_summary_add_card.
(pas_backend_file_process_remove_card): call
pas_backend_summary_remove_card.
(pas_backend_file_process_modify_card): call remove_card/add_card.
(pas_backend_file_load_uri): try to load the summary file, and if
it doesn't exist create it.
(pas_backend_file_destroy): unref the summary.
* backend/pas/pas-backend-summary.[ch]: new files, reading and
writing (and querying) summaries.
svn path=/trunk/; revision=17330
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions