Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound 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-2003
00006  *
00007  * Developed by Jean Bréfort <jean.brefort@ac-dijon.fr>
00008  *
00009  * This library is free software; you can redistribute it and/or
00010  * modify it under the terms of the GNU Lesser General Public
00011  * License as published by the Free Software Foundation; either
00012  * version 2.1 of the License, or (at your option) any later version.
00013  *
00014  * This library 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 GNU
00017  * Lesser General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU Lesser General Public
00020  * License along with this library; if not, write to the 
00021  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00022  * Boston, MA  02111-1307, USA.
00023  */
00024 
00029 #ifndef GTK_CRYSTAL_VIEWER_H
00030 #define GTK_CRYSTAL_VIEWER_H
00031 
00032 //#include <gtkgl/gtkglarea.h>
00033 #include <gtk/gtkbin.h>
00034 #include <libxml/tree.h>
00035 
00036 G_BEGIN_DECLS
00037 
00038 #define GTK_TYPE_CRYSTAL_VIEWER           (gtk_crystal_viewer_get_type ())
00039 #define GTK_CRYSTAL_VIEWER(obj)           (GTK_CHECK_CAST ((obj), GTK_TYPE_CRYSTAL_VIEWER, GtkCrystalViewer))
00040 #define GTK_CRYSTAL_VIEWER_CLASS(klass)   (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_CRYSTAL_VIEWER, GtkCrystalViewerClass))
00041 #define GTK_IS_CRYSTAL_VIEWER(obj)        (GTK_CHECK_TYPE ((obj), GTK_TYPE_CRYSTAL_VIEWER))
00042 #define GTK_IS_CRYSTAL_VIEWER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CRYSTAL_VIEWER))
00043 #define GTK_CRYSTAL_VIEWER_GET_CLASS(obj)  (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_CRYSTAL_VIEWER, GtkCrystalViewerClass))
00044 
00045 typedef struct _GtkCrystalViewer       GtkCrystalViewer;
00046 typedef struct _GtkCrystalViewerClass  GtkCrystalViewerClass;
00047 
00056 struct _GtkCrystalViewer
00057 {
00058         GtkBin bin;
00059 
00060   /*< private >*/
00061         struct _GtkCrystalViewerPrivate *priv;
00062 };
00063 
00064 struct _GtkCrystalViewerClass
00065 {
00066 //      GtkGLAreaClass parent_class;
00067         GtkBinClass parent_class;
00068 };
00069 
00070 GType               gtk_crystal_viewer_get_type          (void) G_GNUC_CONST;
00078 GtkWidget*            gtk_crystal_viewer_new               (xmlNodePtr node);
00086 void    gtk_crystal_viewer_set_data     (GtkCrystalViewer * viewer, xmlNodePtr node);
00087 
00088 G_END_DECLS
00089 
00090 #endif //GTK_CRYSTAL_VIEWER_H

Generated on Sun Feb 8 10:31:57 2004 for The Gnome Chemistry Utils by doxygen 1.3.3