diff options
author | Chris Toshok <toshok@ximian.com> | 2001-08-17 17:28:49 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2001-08-17 17:28:49 +0800 |
commit | 93833a8c019d992b9ecdca5aff2e39f34b692e8c (patch) | |
tree | c38acd5d036886e8dc2d57e50d371acb5990517d /addressbook/backend/pas/pas-backend-card-sexp.h | |
parent | c142e4626d356ed2ba0981e4f084adc493c74a4e (diff) | |
download | gsoc2013-evolution-93833a8c019d992b9ecdca5aff2e39f34b692e8c.tar gsoc2013-evolution-93833a8c019d992b9ecdca5aff2e39f34b692e8c.tar.gz gsoc2013-evolution-93833a8c019d992b9ecdca5aff2e39f34b692e8c.tar.bz2 gsoc2013-evolution-93833a8c019d992b9ecdca5aff2e39f34b692e8c.tar.lz gsoc2013-evolution-93833a8c019d992b9ecdca5aff2e39f34b692e8c.tar.xz gsoc2013-evolution-93833a8c019d992b9ecdca5aff2e39f34b692e8c.tar.zst gsoc2013-evolution-93833a8c019d992b9ecdca5aff2e39f34b692e8c.zip |
use card_sexp. (pas_backend_file_book_view_free): same.
2001-08-17 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-file.c
(pas_backend_file_book_view_copy): use card_sexp.
(pas_backend_file_book_view_free): same.
(vcard_matches_search): use the new pas_backend_card_sexp_match_vcard call.
(pas_backend_file_search): use card_sexp.
(pas_backend_file_process_get_book_view): same.
* backend/pas/Makefile.am (libpas_a_SOURCES): add
pas-backend-card-sexp.[ch].
svn path=/trunk/; revision=12150
Diffstat (limited to 'addressbook/backend/pas/pas-backend-card-sexp.h')
-rw-r--r-- | addressbook/backend/pas/pas-backend-card-sexp.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/addressbook/backend/pas/pas-backend-card-sexp.h b/addressbook/backend/pas/pas-backend-card-sexp.h new file mode 100644 index 0000000000..e1cb75c77d --- /dev/null +++ b/addressbook/backend/pas/pas-backend-card-sexp.h @@ -0,0 +1,30 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ + +#ifndef __PAS_BACKEND_CARD_SEXP_H__ +#define __PAS_BACKEND_CARD_SEXP_H__ + +#include <gtk/gtk.h> + +typedef struct _PASBackendCardSExpPrivate PASBackendCardSExpPrivate; + +typedef struct { + GtkObject parent_object; + PASBackendCardSExpPrivate *priv; +} PASBackendCardSExp; + +typedef struct { + GtkObjectClass parent_class; +} PASBackendCardSExpClass; + +PASBackendCardSExp *pas_backend_card_sexp_new (const char *text); +GtkType pas_backend_card_sexp_get_type (void); + +gboolean pas_backend_card_sexp_match_vcard (PASBackendCardSExp *sexp, const char *vcard); + +#define PAS_BACKEND_CARD_SEXP_TYPE (pas_backend_card_sexp_get_type ()) +#define PAS_BACKEND_CARD_SEXP(o) (GTK_CHECK_CAST ((o), PAS_BACKEND_CARD_SEXP_TYPE, PASBackendCardSExp)) +#define PAS_BACKEND_CARD_SEXP_CLASS(k) (GTK_CHECK_CLASS_CAST((k), PAS_BACKEND_TYPE, PASBackendCardSExpClass)) +#define PAS_IS_BACKEND_CARD_SEXP(o) (GTK_CHECK_TYPE ((o), PAS_BACKEND_CARD_SEXP_TYPE)) +#define PAS_IS_BACKEND_CARD_SEXP_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), PAS_BACKEND_CARD_SEXP_TYPE)) + +#endif /* __PAS_BACKEND_CARD_SEXP_H__ */ |