/opt/cairo-dock/trunk/cairo-dock/src/cairo-dock-keybinder.h

Aller à la documentation de ce fichier.
00001 /*
00002 ** cairo-dock-keybinder.h
00003 ** Login : <ctaf42@localhost.localdomain>
00004 ** Started on  Thu Jan 31 03:57:17 2008 Cedric GESTES
00005 ** $Id$
00006 **
00007 ** Author(s)
00008 **  - Cedric GESTES <ctaf42@gmail.com>
00009 **  - Havoc Pennington
00010 **  - Tim Janik
00011 **
00012 ** Copyright (C) 2008 Cedric GESTES
00013 ** This program is free software; you can redistribute it and/or modify
00014 ** it under the terms of the GNU General Public License as published by
00015 ** the Free Software Foundation; either version 3 of the License, or
00016 ** (at your option) any later version.
00017 **
00018 ** This program is distributed in the hope that it will be useful,
00019 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
00020 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00021 ** GNU General Public License for more details.
00022 **
00023 ** You should have received a copy of the GNU General Public License
00024 ** along with this program; if not, write to the Free Software
00025 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
00026 *
00027 * imported from tomboy_key_binder.h
00028 */
00029 
00030 
00031 #ifndef __CD_KEY_BINDER_H__
00032 #define __CD_KEY_BINDER_H__
00033 
00034 #include <glib/gtypes.h>
00035 
00036 G_BEGIN_DECLS
00037 
00038 typedef void (* CDBindkeyHandler) (const char *keystring, gpointer user_data);
00039 
00040 void cd_keybinder_init (void);
00041 void cd_keybinder_stop (void);
00042 
00043 
00044 gboolean cd_keybinder_bind (const char           *keystring,
00045                             CDBindkeyHandler  handler,
00046                             gpointer              user_data);
00047 
00048 void cd_keybinder_unbind   (const char           *keystring,
00049                             CDBindkeyHandler  handler);
00050 
00051 gboolean cd_keybinder_is_modifier (guint keycode);
00052 
00053 guint32 cd_keybinder_get_current_event_time (void);
00054 
00055 G_END_DECLS
00056 
00057 #endif /* __CD_KEY_BINDER_H__ */
00058 

Généré le Wed Apr 16 03:27:15 2008 pour Cairo-Dock par  doxygen 1.5.3