
Initial commit new file: AUTHORS new file: COPYING new file: ChangeLog new file: INSTALL new file: Makefile.am new file: NEWS new file: README new file: TODO new file: autogen.sh new file: config.guess new file: config.h.in new file: config.rpath new file: config.sub new file: configure.in new file: data/Makefile.am new file: data/clipit-startup.desktop.in new file: data/clipit.desktop.in new file: depcomp new file: doc/Makefile.am new file: doc/clipit.1 new file: install-sh new file: m4/ChangeLog new file: m4/Makefile.in new file: m4/gettext.m4 new file: m4/iconv.m4 new file: m4/intltool.m4 new file: m4/lib-ld.m4 new file: m4/lib-link.m4 new file: m4/lib-prefix.m4 new file: m4/nls.m4 new file: m4/po.m4 new file: m4/progtest.m4 new file: missing new file: po/Makefile.in.in new file: po/POTFILES.in new file: po/POTFILES.skip new file: po/cs.po new file: po/da.po new file: po/de.po new file: po/es.po new file: po/fr.po new file: po/hu.po new file: po/it.po new file: po/ja.po new file: po/nb.po new file: po/pl.po new file: po/pl_PL.po new file: po/pt_BR.po new file: po/ro.po new file: po/ru.po new file: po/sv.po new file: po/tr.po new file: po/zh_CN.po new file: src/Makefile.am new file: src/clipit-i18n.h new file: src/daemon.c new file: src/daemon.h new file: src/eggaccelerators.c new file: src/eggaccelerators.h new file: src/history.c new file: src/history.h new file: src/keybinder.c new file: src/keybinder.h new file: src/main.c new file: src/main.h new file: src/preferences.c new file: src/preferences.h new file: src/utils.c new file: src/utils.h
46 lines
1.3 KiB
C
46 lines
1.3 KiB
C
/* keybinder.h
|
|
* Developed by Alex Graveley for Tomboy
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
|
|
#ifndef __KEY_BINDER_H__
|
|
#define __KEY_BINDER_H__
|
|
|
|
#include <glib/gtypes.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
typedef void (* BindkeyHandler) (char *keystring, gpointer user_data);
|
|
|
|
void keybinder_init (void);
|
|
|
|
void keybinder_bind (const char *keystring,
|
|
BindkeyHandler handler,
|
|
gpointer user_data);
|
|
|
|
void keybinder_unbind (const char *keystring,
|
|
BindkeyHandler handler);
|
|
|
|
gboolean keybinder_is_modifier (guint keycode);
|
|
|
|
guint32 keybinder_get_current_event_time (void);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __KEY_BINDER_H__ */
|
|
|