diff options
| author | mbkma <[email protected]> | 2026-01-31 12:11:25 +0100 |
|---|---|---|
| committer | mbkma <[email protected]> | 2026-01-31 12:11:25 +0100 |
| commit | bb4fa0ea945f9dd4d0bff0182c381c2f14f78ae3 (patch) | |
| tree | 523c91356c59557d0bcfa0a878f4e5cadd0c4ab2 /indicator-applet/src/tomboykeybinder.h | |
| parent | d433bbd9aeb7ae3377e59c70f6608c3e29f9ebbc (diff) | |
| download | mate-applets-integrate-all-applets.tar.bz2 mate-applets-integrate-all-applets.tar.xz | |
merge mate-indicator-applet and sensors-applet into mate-appletsintegrate-all-applets
Diffstat (limited to 'indicator-applet/src/tomboykeybinder.h')
| -rw-r--r-- | indicator-applet/src/tomboykeybinder.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/indicator-applet/src/tomboykeybinder.h b/indicator-applet/src/tomboykeybinder.h new file mode 100644 index 00000000..cfb27159 --- /dev/null +++ b/indicator-applet/src/tomboykeybinder.h @@ -0,0 +1,43 @@ +/* tomboykeybinder.h + * Copyright (C) 2008 Novell + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 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 + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA + */ +#ifndef __TOMBOY_KEY_BINDER_H__ +#define __TOMBOY_KEY_BINDER_H__ + +#include <glib.h> + +G_BEGIN_DECLS + +typedef void (* TomboyBindkeyHandler) (char *keystring, gpointer user_data); + +void tomboy_keybinder_init (void); + +void tomboy_keybinder_bind (const char *keystring, + TomboyBindkeyHandler handler, + gpointer user_data); + +void tomboy_keybinder_unbind (const char *keystring, + TomboyBindkeyHandler handler); + +gboolean tomboy_keybinder_is_modifier (guint keycode); + +guint32 tomboy_keybinder_get_current_event_time (void); + +G_END_DECLS + +#endif /* __TOMBOY_KEY_BINDER_H__ */ + |
