Gaurav Shah | 3df47b7 | 2013-03-22 15:40:41 -0700 | [diff] [blame] | 1 | // Copyright (c) 2013 The Chromium OS 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 SHILL_DBUS_VARIANT_GMOCK_PRINTER_H_ |
| 6 | #define SHILL_DBUS_VARIANT_GMOCK_PRINTER_H_ |
| 7 | |
| 8 | #include <dbus-c++/types.h> |
| 9 | |
| 10 | namespace DBus { |
| 11 | |
| 12 | // A GMock printer for DBus::Variant types. This also suppresses |
| 13 | // GMock from attempting (and failing) to generate its own printer |
| 14 | // for DBus::Variant. |
| 15 | void PrintTo(const ::DBus::Variant& var, ::std::ostream* os); |
| 16 | |
| 17 | } // namespace DBus |
| 18 | |
| 19 | #endif // SHILL_DBUS_VARIANT_GMOCK_PRINTER_H_ |