Update Chinese (China) translation
[yelp.git] / libyelp / yelp-mallard-document.h
blob25cc848c877a8b853a50cce24a6e75a25d1bec68
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * Copyright (C) 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_MALLARD_DOCUMENT_H__
22 #define __YELP_MALLARD_DOCUMENT_H__
24 #include <glib-object.h>
26 #include "yelp-document.h"
28 #define YELP_TYPE_MALLARD_DOCUMENT (yelp_mallard_document_get_type ())
29 #define YELP_MALLARD_DOCUMENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), YELP_TYPE_MALLARD_DOCUMENT, YelpMallardDocument))
30 #define YELP_MALLARD_DOCUMENT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), YELP_TYPE_MALLARD_DOCUMENT, YelpMallardDocumentClass))
31 #define YELP_IS_MALLARD_DOCUMENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), YELP_TYPE_MALLARD_DOCUMENT))
32 #define YELP_IS_MALLARD_DOCUMENT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), YELP_TYPE_MALLARD_DOCUMENT))
33 #define YELP_MALLARD_DOCUMENT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), YELP_TYPE_MALLARD_DOCUMENT, YelpMallardDocumentClass))
35 typedef struct _YelpMallardDocument YelpMallardDocument;
36 typedef struct _YelpMallardDocumentClass YelpMallardDocumentClass;
38 struct _YelpMallardDocument {
39 YelpDocument parent;
42 struct _YelpMallardDocumentClass {
43 YelpDocumentClass parent_class;
46 GType yelp_mallard_document_get_type (void);
47 YelpDocument * yelp_mallard_document_new (YelpUri *uri);
49 #endif /* __YELP_MALLARD_DOCUMENT_H__ */