1 /* -*-mode:c; c-style:k&r; c-basic-offset:4; -*- */ 2 /* Balsa E-Mail Client 3 * 4 * Copyright (C) 1997-2013 Stuart Parmenter and others, 5 * See the file AUTHORS for a list. 6 * 7 * Rubrica2 address book support was written by Copyright (C) 8 * Albrecht Dre� <albrecht.dress@arcor.de> 2007. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2, or (at your option) 13 * any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 23 * 02111-1307, USA. 24 */ 25 26 /* 27 * Rubrica address book ... 28 */ 29 30 #ifndef __LIBBALSA_ADDRESS_BOOK_RUBRICA_H__ 31 #define __LIBBALSA_ADDRESS_BOOK_RUBRICA_H__ 32 33 #include "address-book-text.h" 34 35 #define LIBBALSA_TYPE_ADDRESS_BOOK_RUBRICA (libbalsa_address_book_rubrica_get_type()) 36 #define LIBBALSA_ADDRESS_BOOK_RUBRICA(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, LIBBALSA_TYPE_ADDRESS_BOOK_RUBRICA, LibBalsaAddressBookRubrica)) 37 #define LIBBALSA_ADDRESS_BOOK_RUBRICA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klass, LIBBALSA_TYPE_ADDRESS_BOOK_RUBRICA, LibBalsaAddressBookRubricaClass)) 38 #define LIBBALSA_IS_ADDRESS_BOOK_RUBRICA(obj) (G_TYPE_CHECK_INSTANCE_TYPE (obj, LIBBALSA_TYPE_ADDRESS_BOOK_RUBRICA)) 39 #define LIBBALSA_IS_ADDRESS_BOOK_RUBRICA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (klass, LIBBALSA_TYPE_ADDRESS_BOOK_RUBRICA)) 40 41 struct _LibBalsaAddressBookRubrica { 42 LibBalsaAddressBookText parent; 43 }; 44 45 struct _LibBalsaAddressBookRubricaClass { 46 LibBalsaAddressBookTextClass parent_class; 47 }; 48 49 typedef struct _LibBalsaAddressBookRubrica LibBalsaAddressBookRubrica; 50 typedef struct _LibBalsaAddressBookRubricaClass 51 LibBalsaAddressBookRubricaClass; 52 53 GType libbalsa_address_book_rubrica_get_type(void); 54 55 LibBalsaAddressBook *libbalsa_address_book_rubrica_new(const gchar * name, 56 const gchar * path); 57 58 #endif /* __LIBBALSA_ADDRESS_BOOK_RUBRICA_H__ */ 59