ergtk-keyb.h

Go to the documentation of this file.
00001 /*
00002  * File Name: ergtk-keyb.h
00003  */
00004 
00005 /*
00006  * This file is part of erkeyb.
00007  *
00008  * erkeyb is free software: you can redistribute it and/or modify
00009  * it under the terms of the GNU General Public License as published by
00010  * the Free Software Foundation, either version 2 of the License, or
00011  * (at your option) any later version.
00012  *
00013  * erkeyb is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program. If not, see <http://www.gnu.org/licenses/>.
00020  */
00021 
00022 /**
00023  * Copyright (C) 2009 iRex Technologies B.V.
00024  * All rights reserved.
00025  */
00026 
00027 #ifndef ___ERGTK_KEYB_H__
00028 #define ___ERGTK_KEYB_H__
00029 
00030 //----------------------------------------------------------------------------
00031 // Include Files
00032 //----------------------------------------------------------------------------
00033 
00034 // system include files, between < >
00035 #include <gdk/gdk.h>
00036 #include <gtk/gtk.h>
00037 
00038 G_BEGIN_DECLS
00039 
00040 //----------------------------------------------------------------------------
00041 // Macros
00042 //----------------------------------------------------------------------------
00043 
00044 #define ERGTK_TYPE_KEYB             (ergtk_keyb_get_type ())
00045 #define ERGTK_KEYB(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), ERGTK_TYPE_KEYB, ErGtkKeyb))
00046 #define ERGTK_KEYB_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), ERGTK_TYPE_KEYB, ErGtkKeybClass))
00047 #define ERGTK_IS_KEYB(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ERGTK_TYPE_KEYB))
00048 #define ERGTK_IS_KEYB_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), ERGTK_TYPE_KEYB))
00049 #define ERGTK_KEYB_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), ERGTK_TYPE_KEYB, ErGtkKeybClass))
00050 
00051 //----------------------------------------------------------------------------
00052 // Type Declarations
00053 //----------------------------------------------------------------------------
00054 
00055 typedef struct _ErGtkKeyb         ErGtkKeyb;
00056 typedef struct _ErGtkKeybClass    ErGtkKeybClass;
00057 typedef struct _ErGtkKeybPrivate  ErGtkKeybPrivate;
00058 
00059 struct _ErGtkKeyb
00060 {
00061     GtkVBox parent_instance;
00062 
00063     /* <private> */
00064     ErGtkKeybPrivate* priv;
00065 };
00066 
00067 struct _ErGtkKeybClass
00068 {
00069     GtkVBoxClass parent_class;
00070 
00071     /* Padding for future expansion */
00072     void (*_ergtk_reserved1) (void);
00073     void (*_ergtk_reserved2) (void);
00074     void (*_ergtk_reserved3) (void);
00075     void (*_ergtk_reserved4) (void);
00076     void (*_ergtk_reserved5) (void);
00077     void (*_ergtk_reserved6) (void);
00078     void (*_ergtk_reserved7) (void);
00079 
00080 };
00081 
00082 
00083 //============================================================================
00084 // Local Function Definitions
00085 //============================================================================
00086  
00087 GType       ergtk_keyb_get_type (void)      G_GNUC_CONST;
00088 GtkWidget*  ergtk_keyb_new      (void) ; 
00089 void        ergtk_keyb_reset_keymap(ErGtkKeyb* thiz) ; // reset to defaut keymap
00090 
00091 G_END_DECLS
00092 
00093 #endif  // ___ERGTK_KEYB_H__
Generated by  doxygen 1.6.2-20100208