1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * Copyright (C) 2007 Don Scorgie <dscorgie@svn.gnome.org>
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of the
8 * License, or (at your option) any later version.
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 General Public
16 * License along with this program; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
20 * Author: Don Scorgie <dscorgie@svn.gnome.org>
23 #ifndef __YELP_INFO_DOCUMENT_H__
24 #define __YELP_INFO_DOCUMENT_H__
26 #include <glib-object.h>
28 #include "yelp-document.h"
30 #define YELP_TYPE_INFO_DOCUMENT (yelp_info_document_get_type ())
31 #define YELP_INFO_DOCUMENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), YELP_TYPE_INFO_DOCUMENT, YelpInfoDocument))
32 #define YELP_INFO_DOCUMENT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), YELP_TYPE_INFO_DOCUMENT, YelpInfoDocumentClass))
33 #define YELP_IS_INFO_DOCUMENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), YELP_TYPE_INFO_DOCUMENT))
34 #define YELP_IS_INFO_DOCUMENT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), YELP_TYPE_INFO_DOCUMENT))
35 #define YELP_INFO_DOCUMENT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), YELP_TYPE_INFO_DOCUMENT, YelpInfoDocumentClass))
37 typedef struct _YelpInfoDocument YelpInfoDocument
;
38 typedef struct _YelpInfoDocumentClass YelpInfoDocumentClass
;
40 struct _YelpInfoDocument
{
44 struct _YelpInfoDocumentClass
{
45 YelpDocumentClass parent_class
;
48 GType
yelp_info_document_get_type (void);
49 YelpDocument
* yelp_info_document_new (YelpUri
*uri
);
51 #endif /* __YELP_INFO_DOCUMENT_H__ */