blob: 64085f8487802fec513b5613a8c8d846b6e57215 [file] [log] [blame]
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "wimax_manager/dbus_adaptor.h"
#include <chromeos/dbus/service_constants.h>
using std::string;
namespace wimax_manager {
DBusAdaptor::DBusAdaptor(DBus::Connection *connection,
const string& object_path)
: DBus::ObjectAdaptor(*connection, object_path) {
DBusAdaptor::~DBusAdaptor() {
// static
void DBusAdaptor::SetError(DBus::Error *error, const string &message) {
error->set(kWiMaxManagerServiceError, message.c_str());
} // namespace wimax_manager