blob: c0fe6ade8a9d19a87660050b988d19cba3740d04 [file] [log] [blame]
Gaurav Shah3df47b72013-03-22 15:40:41 -07001// 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
10namespace 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.
15void PrintTo(const ::DBus::Variant& var, ::std::ostream* os);
16
17} // namespace DBus
18
19#endif // SHILL_DBUS_VARIANT_GMOCK_PRINTER_H_