Index: load.cc |
diff --git a/load.cc b/load.cc |
index 179fa7181c0c5d76427df9bd1e7c1e06a572950a..92a8634245dad6754aed42976d57479c3b622f72 100644 |
--- a/load.cc |
+++ b/load.cc |
@@ -113,6 +113,7 @@ DECL_FUNC_4(NotifyCandidateClicked, void, |
InputMethodUiStatusConnection*, int, int, int); |
// Keyboard |
+DECL_FUNC_0(GetHardwareKeyboardLayoutName, std::string); |
DECL_FUNC_0(GetCurrentKeyboardLayoutName, std::string); |
DECL_FUNC_1(SetCurrentKeyboardLayoutByName, bool, const std::string&); |
DECL_FUNC_1(RemapModifierKeys, bool, const ModifierMap&); |
@@ -301,6 +302,7 @@ bool LoadLibcros(const char* path_to_libcros, std::string& error_string) { |
INIT_FUNC(NotifyCandidateClicked); |
// Keyboard |
+ INIT_FUNC(GetHardwareKeyboardLayoutName); |
INIT_FUNC(GetCurrentKeyboardLayoutName); |
INIT_FUNC(SetCurrentKeyboardLayoutByName); |
INIT_FUNC(RemapModifierKeys); |