1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
5 * Authors: Michael Zucchi <notzed@ximian.com>
7 * This library is free software you can redistribute it and/or modify it
8 * under the terms of the GNU Lesser General Public License as published by
9 * the Free Software Foundation.
11 * This library is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this library; if not, see <http://www.gnu.org/licenses/>.
20 #if !defined (__CAMEL_H_INSIDE__) && !defined (CAMEL_COMPILATION)
21 #error "Only <camel/camel.h> can be included directly."
24 #ifndef CAMEL_NNTP_ADDRESS_H
25 #define CAMEL_NNTP_ADDRESS_H
27 #include <camel/camel-address.h>
29 /* Standard GObject macros */
30 #define CAMEL_TYPE_NNTP_ADDRESS \
31 (camel_nntp_address_get_type ())
32 #define CAMEL_NNTP_ADDRESS(obj) \
33 (G_TYPE_CHECK_INSTANCE_CAST \
34 ((obj), CAMEL_TYPE_NNTP_ADDRESS, CamelNNTPAddress))
35 #define CAMEL_NNTP_ADDRESS_CLASS(cls) \
36 (G_TYPE_CHECK_CLASS_CAST \
37 ((cls), CAMEL_TYPE_NNTP_ADDRESS, CamelNNTPAddressClass))
38 #define CAMEL_IS_NNTP_ADDRESS(obj) \
39 (G_TYPE_CHECK_INSTANCE_TYPE \
40 ((obj), CAMEL_TYPE_NNTP_ADDRESS))
41 #define CAMEL_IS_NNTP_ADDRESS_CLASS(cls) \
42 (G_TYPE_CHECK_CLASS_TYPE \
43 ((cls), CAMEL_TYPE_NNTP_ADDRESS))
44 #define CAMEL_NNTP_ADDRESS_GET_CLASS(obj) \
45 (G_TYPE_INSTANCE_GET_CLASS \
46 ((obj), CAMEL_TYPE_NTTP_ADDRESS, CamelNNTPAddressClass))
50 typedef struct _CamelNNTPAddress CamelNNTPAddress;
51 typedef struct _CamelNNTPAddressClass CamelNNTPAddressClass;
52 typedef struct _CamelNNTPAddressPrivate CamelNNTPAddressPrivate;
54 struct _CamelNNTPAddress {
56 CamelNNTPAddressPrivate *priv;
59 struct _CamelNNTPAddressClass {
60 CamelAddressClass parent_class;
63 GType camel_nntp_address_get_type (void);
65 camel_nntp_address_new (void);
66 gint camel_nntp_address_add (CamelNNTPAddress *a,
68 gboolean camel_nntp_address_get (CamelNNTPAddress *a,
74 #endif /* CAMEL_NNTP_ADDRESS_H */