1 /*
2  * xed-documents-panel.h
3  * This file is part of xed
4  *
5  * Copyright (C) 2005 - Paolo Maggi
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor,
20  * Boston, MA 02110-1301, USA.
21  */
22 
23 /*
24  * Modified by the xed Team, 2005. See the AUTHORS file for a
25  * list of people on the xed Team.
26  * See the ChangeLog files for a list of changes.
27  *
28  * $Id$
29  */
30 
31 #ifndef __XED_DOCUMENTS_PANEL_H__
32 #define __XED_DOCUMENTS_PANEL_H__
33 
34 #include <gtk/gtk.h>
35 
36 #include <xed/xed-window.h>
37 
38 G_BEGIN_DECLS
39 
40 /*
41  * Type checking and casting macros
42  */
43 #define XED_TYPE_DOCUMENTS_PANEL              (xed_documents_panel_get_type())
44 #define XED_DOCUMENTS_PANEL(obj)              (G_TYPE_CHECK_INSTANCE_CAST((obj), XED_TYPE_DOCUMENTS_PANEL, XedDocumentsPanel))
45 #define XED_DOCUMENTS_PANEL_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST((klass), XED_TYPE_DOCUMENTS_PANEL, XedDocumentsPanelClass))
46 #define XED_IS_DOCUMENTS_PANEL(obj)           (G_TYPE_CHECK_INSTANCE_TYPE((obj), XED_TYPE_DOCUMENTS_PANEL))
47 #define XED_IS_DOCUMENTS_PANEL_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), XED_TYPE_DOCUMENTS_PANEL))
48 #define XED_DOCUMENTS_PANEL_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS((obj), XED_TYPE_DOCUMENTS_PANEL, XedDocumentsPanelClass))
49 
50 /* Private structure type */
51 typedef struct _XedDocumentsPanelPrivate XedDocumentsPanelPrivate;
52 
53 /*
54  * Main object structure
55  */
56 typedef struct _XedDocumentsPanel XedDocumentsPanel;
57 
58 struct _XedDocumentsPanel
59 {
60 	GtkBox vbox;
61 
62 	/*< private > */
63 	XedDocumentsPanelPrivate *priv;
64 };
65 
66 /*
67  * Class definition
68  */
69 typedef struct _XedDocumentsPanelClass XedDocumentsPanelClass;
70 
71 struct _XedDocumentsPanelClass
72 {
73 	GtkBoxClass parent_class;
74 };
75 
76 /*
77  * Public methods
78  */
79 GType 		 xed_documents_panel_get_type	(void) G_GNUC_CONST;
80 
81 GtkWidget	*xed_documents_panel_new 	(XedWindow *window);
82 
83 G_END_DECLS
84 
85 #endif  /* __XED_DOCUMENTS_PANEL_H__  */
86