/* -*-mode:c; c-style:k&r; c-basic-offset:4; -*- */ /* Balsa E-Mail Client * * Copyright (C) 1997-2003 Stuart Parmenter and others, * See the file AUTHORS for a list. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * 02111-1307, USA. */ /* * The GPE address book ... */ #ifndef __LIBBALSA_ADDRESS_BOOK_GPE_H__ #define __LIBBALSA_ADDRESS_BOOK_GPE_H__ #ifdef HAVE_SQLITE #include #include "address-book.h" #define LIBBALSA_TYPE_ADDRESS_BOOK_GPE (libbalsa_address_book_gpe_get_type()) #define LIBBALSA_ADDRESS_BOOK_GPE(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, LIBBALSA_TYPE_ADDRESS_BOOK_GPE, LibBalsaAddressBookGpe)) #define LIBBALSA_ADDRESS_BOOK_GPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klass, LIBBALSA_TYPE_ADDRESS_BOOK_GPE, LibBalsaAddressBookGpeClass)) #define LIBBALSA_IS_ADDRESS_BOOK_GPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE(obj, LIBBALSA_TYPE_ADDRESS_BOOK_GPE)) #define LIBBALSA_IS_ADDRESS_BOOK_GPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (klass, LIBBALSA_TYPE_ADDRESS_BOOK_GPE)) typedef struct _LibBalsaAddressBookGpe LibBalsaAddressBookGpe; typedef struct _LibBalsaAddressBookGpeClass LibBalsaAddressBookGpeClass; struct _LibBalsaAddressBookGpe { LibBalsaAddressBook parent; sqlite *db; }; struct _LibBalsaAddressBookGpeClass { LibBalsaAddressBookClass parent_class; }; GType libbalsa_address_book_gpe_get_type(void); LibBalsaAddressBook *libbalsa_address_book_gpe_new(const gchar *name); #endif /* HAVE_SQLITE */ #endif /* __LIBBALSA_ADDRESS_BOOK_GPE_H__ */