Update Chinese (China) translation
[yelp.git] / libyelp / yelp-docbook-document.h
blobf0229ee69fbee41bf28ab205991ba892857de5ee
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * Copyright (C) 2003-2009 Shaun McCance <shaunm@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, see <http://www.gnu.org/licenses/>.
18 * Author: Shaun McCance <shaunm@gnome.org>
21 #ifndef __YELP_DOCBOOK_DOCUMENT_H__
22 #define __YELP_DOCBOOK_DOCUMENT_H__
24 #include <glib-object.h>
26 #include "yelp-document.h"
28 #define YELP_TYPE_DOCBOOK_DOCUMENT (yelp_docbook_document_get_type ())
29 #define YELP_DOCBOOK_DOCUMENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), YELP_TYPE_DOCBOOK_DOCUMENT, YelpDocbookDocument))
30 #define YELP_DOCBOOK_DOCUMENT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), YELP_TYPE_DOCBOOK_DOCUMENT, YelpDocbookDocumentClass))
31 #define YELP_IS_DOCBOOK_DOCUMENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), YELP_TYPE_DOCBOOK_DOCUMENT))
32 #define YELP_IS_DOCBOOK_DOCUMENT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), YELP_TYPE_DOCBOOK_DOCUMENT))
33 #define YELP_DOCBOOK_DOCUMENT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), YELP_TYPE_DOCBOOK_DOCUMENT, YelpDocbookDocumentClass))
35 typedef struct _YelpDocbookDocument YelpDocbookDocument;
36 typedef struct _YelpDocbookDocumentClass YelpDocbookDocumentClass;
38 struct _YelpDocbookDocument {
39 YelpDocument parent;
42 struct _YelpDocbookDocumentClass {
43 YelpDocumentClass parent_class;
46 GType yelp_docbook_document_get_type (void);
47 YelpDocument * yelp_docbook_document_new (YelpUri *uri);
49 #endif /* __YELP_DOCBOOK_DOCUMENT_H__ */