2 * Copyright (C) 2000 Ximian Inc.
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of version 2 of the GNU Lesser General Public
8 * License as published by the Free Software Foundation.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this program; if not, write to the
17 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
21 #include "camel-news-address.h"
24 static void camel_news_address_class_init (CamelNewsAddressClass *klass);
26 static CamelAddressClass *camel_news_address_parent;
29 camel_news_address_class_init (CamelNewsAddressClass *klass)
31 camel_news_address_parent = CAMEL_ADDRESS_CLASS (camel_type_get_global_classfuncs (camel_address_get_type ()));
36 camel_news_address_get_type (void)
38 static guint type = CAMEL_INVALID_TYPE;
40 if (type == CAMEL_INVALID_TYPE) {
41 type = camel_type_register (camel_address_get_type (), "CamelNewsAddress",
42 sizeof (CamelNewsAddress),
43 sizeof (CamelNewsAddressClass),
44 (CamelObjectClassInitFunc) camel_news_address_class_init,
54 * camel_news_address_new:
56 * Create a new CamelNewsAddress object.
58 * Return value: A new CamelNewsAddress widget.
61 camel_news_address_new (void)
63 CamelNewsAddress *new = CAMEL_NEWS_ADDRESS ( camel_object_new (camel_news_address_get_type ()));