• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

ap_DocView.h

Go to the documentation of this file.
00001 /* The AbiWord Document Widget
00002  *
00003  * Copyright (C) 2007 Michael Gorse <mgorse@alum.wpi.edu>
00004  *
00005  * This program is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU General Public License
00007  * as published by the Free Software Foundation; either version 2
00008  * of the License, or (at your option) any later version.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program; if not, write to the Free Software
00017  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
00018  * 02111-1307, USA.
00019  */
00020 #ifndef AP_DOCVIEW_H
00021 #define AP_DOCVIEW_H
00022 
00023 #include <gtk/gtk.h>
00024 
00025 G_BEGIN_DECLS
00026 
00027 #define AP_TYPE_DOCVIEW      (ap_DocView_get_type ())
00028 #define AP_DOCVIEW(obj)       (G_TYPE_CHECK_INSTANCE_CAST((obj), AT_TYPE_DOCVIEW, ApDocView))
00029 #define IS_AP_DOCVIEW(obj)     (G_TYPE_CHECK_INSTANCE_TYPE((obj), AT_TYPE_DOCVIEW))
00030 #define IS_AP_DOCVIEW_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), AT_TYPE_DOCVIEW))
00031 #define AP_DOCVIEW_CLASS(k)    (G_TYPE_CHECK_CLASS_CAST ((k), AT_TYPE_DOCVIEW, AbiWidgetClass))
00032 
00033   /* forward declarations */
00034   typedef struct _ApDocView      ApDocView;
00035   typedef GtkDrawingAreaClass ApDocViewClass;
00036   typedef struct _AbiPrivData    AbiPrivData;
00037 
00038   struct _ApDocView
00039   {
00040     GtkDrawingArea base;
00041     GtkWidget * child;
00042     /* private instance data */
00043     AbiPrivData * priv;
00044   };
00045 
00046   /* the public API */
00047   GtkWidget * ap_DocView_new (void);
00048   GType     ap_DocView_get_type (void);
00049 
00050 G_END_DECLS
00051 
00052 #endif /* AP_DOCVIEW_H */

Generated on Sun May 27 2012 for AbiWord by  doxygen 1.7.1