gcuspectrumviewer.h

Go to the documentation of this file.
00001 /* 
00002  * Gnome Chemisty Utils
00003  * gcuspectrumviewer.h
00004  *
00005  * Copyright (C) 2007-2010 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 
00023 #ifndef GCU_SPECTRUM_VIEWER_H
00024 #define GCU_SPECTRUM_VIEWER_H
00025 
00026 #include <goffice/goffice.h>
00027 
00028 G_BEGIN_DECLS
00029 
00035 #define GCU_TYPE_SPECTRUM_VIEWER                  (gcu_spectrum_viewer_get_type ())
00036 
00041 #define GCU_SPECTRUM_VIEWER(obj)                  (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCU_TYPE_SPECTRUM_VIEWER, GcuSpectrumViewer))
00042 
00046 #define GCU_SPECTRUM_VIEWER_CLASS(klass)          (G_TYPE_CHECK_CLASS_CAST ((klass), GCU_TYPE_SPECTRUM_VIEWER, GcuSpectrumViewerClass
00047 
00050 #define GCU_IS_SPECTRUM_VIEWER(obj)       (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCU_TYPE_SPECTRUM_VIEWER))
00051 
00054 #define GCU_IS_SPECTRUM_VIEWER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GCU_TYPE_SPECTRUM_VIEWER))
00055 
00059 #define GCU_SPECTRUM_VIEWER_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), GCU_TYPE_SPECTRUM_VIEWER, GcuSpectrumViewerClass))
00060 
00069 typedef struct _GcuSpectrumViewer       GcuSpectrumViewer;
00071 typedef struct _GcuSpectrumViewerClass  GcuSpectrumViewerClass;
00072 
00073 GType               gcu_spectrum_viewer_get_type          (void) G_GNUC_CONST;
00080 GtkWidget*            gcu_spectrum_viewer_new               (const gchar* uri);
00087 void    gcu_spectrum_viewer_set_uri     (GcuSpectrumViewer * viewer, const gchar * uri);
00088 
00094 GogGraph *gcu_spectrum_viewer_get_graph (GcuSpectrumViewer * viewer);
00095 
00096 G_END_DECLS
00097 
00098 #endif //       GCU_SPECTRUM_VIEWER_H

Generated on Fri Sep 24 15:58:41 2010 for The Gnome Chemistry Utils by  doxygen 1.5.9