Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(600)

Unified Diff: src/ibushotkey.h

Issue 1702015: Support engine specific hotkey. (Closed) Base URL: ssh://git@chromiumos-git/ibus.git
Patch Set: Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ibusenginedesc.c ('k') | src/ibushotkey.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ibushotkey.h
diff --git a/src/ibushotkey.h b/src/ibushotkey.h
index 4b63121b8599b9bec66a22292bd49047e0c41238..4014d467e5ccf9b6b14c2c91e729a70c985befaa 100644
--- a/src/ibushotkey.h
+++ b/src/ibushotkey.h
@@ -160,6 +160,18 @@ GQuark ibus_hotkey_profile_filter_key_event
guint prev_modifiers,
gpointer user_data);
+/**
+ * ibus_hotkey_profile_lookup_hotkey:
+ * @profile: An IBusHotkeyProfile.
+ * @keyval: Keycode of the hotkey.
+ * @modifiers: Modifiers of the hotkey.
+ * @returns: The event associated to the hotkey or 0 if the hotkey is not in the
+ * profile.
+ */
+GQuark ibus_hotkey_profile_lookup_hotkey
+ (IBusHotkeyProfile *profile,
+ guint keyval,
+ guint modifiers);
+
G_END_DECLS
#endif
-
« no previous file with comments | « src/ibusenginedesc.c ('k') | src/ibushotkey.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698