1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * Copyright (C) 2007-2010 Shaun McCance <shaunm@gnome.org>
4  *
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.
9  *
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.
14  *
15  * You should have received a copy of the GNU General Public
16  * License along with this program; if not, see <http://www.gnu.org/licenses/>.
17  *
18  * Author: Shaun McCance <shaunm@gnome.org>
19  */
20 
21 #ifndef __YELP_MAN_DOCUMENT_H__
22 #define __YELP_MAN_DOCUMENT_H__
23 
24 #include <glib-object.h>
25 
26 #include "yelp-document.h"
27 
28 #define YELP_TYPE_MAN_DOCUMENT         (yelp_man_document_get_type ())
29 #define YELP_MAN_DOCUMENT(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), YELP_TYPE_MAN_DOCUMENT, YelpManDocument))
30 #define YELP_MAN_DOCUMENT_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST ((k), YELP_TYPE_MAN_DOCUMENT, YelpManDocumentClass))
31 #define YELP_IS_MAN_DOCUMENT(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), YELP_TYPE_MAN_DOCUMENT))
32 #define YELP_IS_MAN_DOCUMENT_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), YELP_TYPE_MAN_DOCUMENT))
33 #define YELP_MAN_DOCUMENT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), YELP_TYPE_MAN_DOCUMENT, YelpManDocumentClass))
34 
35 typedef struct _YelpManDocument      YelpManDocument;
36 typedef struct _YelpManDocumentClass YelpManDocumentClass;
37 
38 struct _YelpManDocument {
39     YelpDocument      parent;
40 };
41 
42 struct _YelpManDocumentClass {
43     YelpDocumentClass parent_class;
44 };
45 
46 GType           yelp_man_document_get_type     (void);
47 YelpDocument *  yelp_man_document_new          (YelpUri  *uri);
48 
49 #endif /* __YELP_MAN_DOCUMENT_H__ */
50