OLD | NEW |
1 // Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium OS 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_H_ | 5 #ifndef CHROMEOS_DBUS_H_ |
6 #define CHROMEOS_DBUS_H_ | 6 #define CHROMEOS_DBUS_H_ |
7 | 7 |
8 #include <dbus/dbus-glib.h> | 8 #include <dbus/dbus-glib.h> |
9 #include <glib-object.h> | 9 #include <glib-object.h> |
10 | 10 |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 glib::ScopedHashTable* result); | 402 glib::ScopedHashTable* result); |
403 | 403 |
404 // \brief Returns a connection to the system bus. | 404 // \brief Returns a connection to the system bus. |
405 | 405 |
406 BusConnection GetSystemBusConnection(); | 406 BusConnection GetSystemBusConnection(); |
407 | 407 |
408 // \brief Returns a private connection to a bus at |address|. | 408 // \brief Returns a private connection to a bus at |address|. |
409 | 409 |
410 BusConnection GetPrivateBusConnection(const char* address); | 410 BusConnection GetPrivateBusConnection(const char* address); |
411 | 411 |
| 412 // \brief Sends a signal named |signal_name| with no arguments to the |
| 413 // system bus per the given |path| and |interface_name|. |
| 414 |
| 415 void SendSignalWithNoArgumentsToSystemBus(const char* path, |
| 416 const char* interface_name, |
| 417 const char* signal_name); |
| 418 |
412 } // namespace dbus | 419 } // namespace dbus |
413 } // namespace chromeos | 420 } // namespace chromeos |
414 | 421 |
415 #endif // CHROMEOS_DBUS_H_ | 422 #endif // CHROMEOS_DBUS_H_ |
OLD | NEW |