Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

gtkcrystalviewer.h

Go to the documentation of this file.
00001 /* 
00002  * Gnome Chemisty Utils
00003  * gtkcrystalviewer.h 
00004  *
00005  * Copyright (C) 2002-2004
00006  *
00007  * Developed by Jean Bréfort <jean.brefort@normalesup.org>
00008  *
00009  * This program is free software; you can redistribute it and/or 
00010  * modify it under the terms of the GNU General Public License as 
00011  * published by the Free Software Foundation; either version 2 of the
00012  * License, or (at your option) any later version.
00013  *
00014  * This program is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  * GNU General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU General Public License
00020  * along with this program; if not, write to the Free Software
00021  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
00022  * USA
00023  */
00024 
00029 #ifndef GTK_CRYSTAL_VIEWER_H
00030 #define GTK_CRYSTAL_VIEWER_H
00031 
00032 #include <gtk/gtkbin.h>
00033 #include <libxml/tree.h>
00034 
00035 G_BEGIN_DECLS
00036 
00037 #define GTK_TYPE_CRYSTAL_VIEWER           (gtk_crystal_viewer_get_type ())
00038 #define GTK_CRYSTAL_VIEWER(obj)           (GTK_CHECK_CAST ((obj), GTK_TYPE_CRYSTAL_VIEWER, GtkCrystalViewer))
00039 #define GTK_CRYSTAL_VIEWER_CLASS(klass)   (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_CRYSTAL_VIEWER, GtkCrystalViewerClass))
00040 #define GTK_IS_CRYSTAL_VIEWER(obj)        (GTK_CHECK_TYPE ((obj), GTK_TYPE_CRYSTAL_VIEWER))
00041 #define GTK_IS_CRYSTAL_VIEWER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CRYSTAL_VIEWER))
00042 #define GTK_CRYSTAL_VIEWER_GET_CLASS(obj)  (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_CRYSTAL_VIEWER, GtkCrystalViewerClass))
00043 
00044 typedef struct _GtkCrystalViewer       GtkCrystalViewer;
00045 typedef struct _GtkCrystalViewerClass  GtkCrystalViewerClass;
00046 
00055 struct _GtkCrystalViewer
00056 {
00057         GtkBin bin;
00058 
00059   /*< private >*/
00060         struct _GtkCrystalViewerPrivate *priv;
00061 };
00062 
00063 struct _GtkCrystalViewerClass
00064 {
00065 //      GtkGLAreaClass parent_class;
00066         GtkBinClass parent_class;
00067 };
00068 
00069 GType               gtk_crystal_viewer_get_type          (void) G_GNUC_CONST;
00077 GtkWidget*            gtk_crystal_viewer_new               (xmlNodePtr node);
00085 void    gtk_crystal_viewer_set_data     (GtkCrystalViewer * viewer, xmlNodePtr node);
00086 
00087 G_END_DECLS
00088 
00089 #endif //GTK_CRYSTAL_VIEWER_H

Generated on Sun Jan 29 08:25:29 2006 for The Gnome Chemistry Utils by  doxygen 1.4.1