1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROMEOS_IME_IBUS_KEYMAP_H_
6 #define CHROMEOS_IME_IBUS_KEYMAP_H_
9 #include "base/basictypes.h"
10 #include "chromeos/chromeos_export.h"
13 namespace input_method {
15 // Translates the key value from an IBus constant to a string.
16 CHROMEOS_EXPORT std::string GetIBusKey(int keyval);
18 // Translates the unmodified keycode from an IBus constant to a string.
19 CHROMEOS_EXPORT std::string GetIBusKeyCode(uint16 keycode);
21 } // namespace input_method
22 } // namespace chromeos
24 #endif // CHROMEOS_IME_IBUS_KEYMAP_H_