OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROMEOS_DBUS_IBUS_IBUS_COMPONENT_H_ | 5 #ifndef CHROMEOS_DBUS_IBUS_IBUS_COMPONENT_H_ |
6 #define CHROMEOS_DBUS_IBUS_IBUS_COMPONENT_H_ | 6 #define CHROMEOS_DBUS_IBUS_IBUS_COMPONENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "chromeos/chromeos_export.h" | 11 #include "chromeos/chromeos_export.h" |
12 | 12 |
13 namespace dbus { | 13 namespace dbus { |
14 class MessageWriter; | 14 class MessageWriter; |
15 class MessageReader; | 15 class MessageReader; |
16 } // namespace dbus | 16 } // namespace dbus |
17 | 17 |
18 namespace chromeos { | 18 namespace chromeos { |
19 // TODO(nona): Remove ibus namespace after complete libibus removal. | |
20 namespace ibus { | |
21 | 19 |
22 // The IBusComponents is one of IBusObjects and it contains one or more | 20 // The IBusComponents is one of IBusObjects and it contains one or more |
23 // IBusEngineDesc object which describes details of engine information. This | 21 // IBusEngineDesc object which describes details of engine information. This |
24 // object is in used an engine's initialization. | 22 // object is in used an engine's initialization. |
25 // | 23 // |
26 // DATA STRUCTURE OVERVIEW: | 24 // DATA STRUCTURE OVERVIEW: |
27 // | 25 // |
28 // IBusEngineDesc: (signature is "ssssssssusss") | 26 // IBusEngineDesc: (signature is "ssssssssusss") |
29 // variant struct { | 27 // variant struct { |
30 // string "IBusEngineDesc" | 28 // string "IBusEngineDesc" |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 private: | 136 private: |
139 std::string name_; | 137 std::string name_; |
140 std::string description_; | 138 std::string description_; |
141 std::string author_; | 139 std::string author_; |
142 | 140 |
143 std::vector<EngineDescription> engine_description_; | 141 std::vector<EngineDescription> engine_description_; |
144 | 142 |
145 DISALLOW_COPY_AND_ASSIGN(IBusComponent); | 143 DISALLOW_COPY_AND_ASSIGN(IBusComponent); |
146 }; | 144 }; |
147 | 145 |
148 } // namespace ibus | |
149 } // namespace chromeos | 146 } // namespace chromeos |
150 | 147 |
151 #endif // CHROMEOS_DBUS_IBUS_IBUS_COMPONENT_H_ | 148 #endif // CHROMEOS_DBUS_IBUS_IBUS_COMPONENT_H_ |
OLD | NEW |