Chromium Code Reviews| Index: chromeos/dbus/ibus/ibus_util.h |
| diff --git a/chromeos/dbus/ibus/ibus_util.h b/chromeos/dbus/ibus/ibus_util.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..7e4a702cb0684c8807f7d2e5a4989514d789483d |
| --- /dev/null |
| +++ b/chromeos/dbus/ibus/ibus_util.h |
| @@ -0,0 +1,30 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROMEOS_DBUS_IBUS_IBUS_UTIL_H_ |
| +#define CHROMEOS_DBUS_IBUS_IBUS_UTIL_H_ |
| +#pragma once |
| + |
| +#include <string> |
| + |
| +#include "base/basictypes.h" |
| +#include "chromeos/chromeos_export.h" |
| + |
| +namespace chromeos { |
| + |
| +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
|
| + public: |
| + // Set an ibus-daemon server address into |address|, |
| + // If there are no available addressses, this function returns false. In |
| + // ChromeOS, the server address is stored in a file and which path is stored |
| + // in environment variables. |
| + 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
|
| + |
| + private: |
| + DISALLOW_IMPLICIT_CONSTRUCTORS(IBusUtil); |
| +}; |
| + |
| +} // namespace chromeos |
| + |
| +#endif // CHROMEOS_DBUS_IBUS_IBUS_UTIL_H_ |