gtkcrystalviewer.h

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

Generated on Tue Aug 15 10:47:35 2006 for The Gnome Chemistry Utils by  doxygen 1.4.7