Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROMEOS_DBUS_IBUS_IBUS_UTIL_H_ | |
| 6 #define CHROMEOS_DBUS_IBUS_IBUS_UTIL_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include <string> | |
| 10 | |
| 11 #include "base/basictypes.h" | |
| 12 #include "chromeos/chromeos_export.h" | |
| 13 | |
| 14 namespace chromeos { | |
| 15 | |
| 16 class CHROMEOS_EXPORT IBusUtil { | |
|
satorux1
2012/04/20 23:18:40
please don't define a class if members are just st
Seigo Nonaka
2012/04/23 23:03:21
Okay but I removed this file.
Thanks
On 2012/04/20
| |
| 17 public: | |
| 18 // Set an ibus-daemon server address into |address|, | |
| 19 // If there are no available addressses, this function returns false. In | |
| 20 // ChromeOS, the server address is stored in a file and which path is stored | |
| 21 // in environment variables. | |
| 22 static bool GetIBusAddress(std::string* address); | |
|
satorux1
2012/04/20 23:18:40
Instead of returning a boolean, you can return an
Seigo Nonaka
2012/04/23 23:03:21
Okay but I removed this file.
Thanks
On 2012/04/20
| |
| 23 | |
| 24 private: | |
| 25 DISALLOW_IMPLICIT_CONSTRUCTORS(IBusUtil); | |
| 26 }; | |
| 27 | |
| 28 } // namespace chromeos | |
| 29 | |
| 30 #endif // CHROMEOS_DBUS_IBUS_IBUS_UTIL_H_ | |
| OLD | NEW |