- add sources.
[platform/framework/web/crosswalk.git] / src / chromeos / ime / ibus_keymap.h
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.
4
5 #ifndef CHROMEOS_IME_IBUS_KEYMAP_H_
6 #define CHROMEOS_IME_IBUS_KEYMAP_H_
7
8 #include <string>
9 #include "base/basictypes.h"
10 #include "chromeos/chromeos_export.h"
11
12 namespace chromeos {
13 namespace input_method {
14
15 // Translates the key value from an IBus constant to a string.
16 CHROMEOS_EXPORT std::string GetIBusKey(int keyval);
17
18 // Translates the unmodified keycode from an IBus constant to a string.
19 CHROMEOS_EXPORT std::string GetIBusKeyCode(uint16 keycode);
20
21 }  // namespace input_method
22 }  // namespace chromeos
23
24 #endif  // CHROMEOS_IME_IBUS_KEYMAP_H_