Update Chinese (China) translation
[yelp.git] / libyelp / yelp-simple-document.h
blob4ef78f66fd70e5e644b71e0a18bbf0c3c3ff4771
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; 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_SIMPLE_DOCUMENT_H__
22 #define __YELP_SIMPLE_DOCUMENT_H__
24 #include <glib-object.h>
25 #include <gio/gio.h>
27 #include "yelp-document.h"
28 #include "yelp-uri.h"
30 G_BEGIN_DECLS
32 #define YELP_TYPE_SIMPLE_DOCUMENT (yelp_simple_document_get_type ())
33 #define YELP_SIMPLE_DOCUMENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), YELP_TYPE_SIMPLE_DOCUMENT, YelpSimpleDocument))
34 #define YELP_SIMPLE_DOCUMENT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), YELP_TYPE_SIMPLE_DOCUMENT, YelpSimpleDocumentClass))
35 #define YELP_IS_SIMPLE_DOCUMENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), YELP_TYPE_SIMPLE_DOCUMENT))
36 #define YELP_IS_SIMPLE_DOCUMENT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), YELP_TYPE_SIMPLE_DOCUMENT))
37 #define YELP_SIMPLE_DOCUMENT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), YELP_TYPE_SIMPLE_DOCUMENT, YelpSimpleDocumentClass))
39 typedef struct _YelpSimpleDocument YelpSimpleDocument;
40 typedef struct _YelpSimpleDocumentClass YelpSimpleDocumentClass;
41 typedef struct _YelpSimpleDocumentPriv YelpSimpleDocumentPriv;
43 struct _YelpSimpleDocument {
44 YelpDocument parent;
45 YelpSimpleDocumentPriv *priv;
48 struct _YelpSimpleDocumentClass {
49 YelpDocumentClass parent_class;
52 GType yelp_simple_document_get_type (void);
53 YelpDocument * yelp_simple_document_new (YelpUri *uri);
55 G_END_DECLS
57 #endif /* __YELP_SIMPLE_DOCUMENT_H__ */