blob: 964c820953e44346a3c74245a544f63fe94a8745 [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.
#ifndef WIMAX_MANAGER_POWER_MANAGER_DBUS_PROXY_H_
#define WIMAX_MANAGER_POWER_MANAGER_DBUS_PROXY_H_
#include <string>
#include <vector>
#include "base/basictypes.h"
#include "wimax_manager/dbus_proxies/org.chromium.PowerManager.h"
#include "wimax_manager/dbus_proxy.h"
namespace wimax_manager {
class PowerManager;
class PowerManagerDBusProxy : public org::chromium::PowerManager_proxy,
public DBusProxy {
public:
PowerManagerDBusProxy(DBus::Connection *connection, PowerManager *manager);
virtual ~PowerManagerDBusProxy();
virtual void SuspendImminent(const std::vector<uint8> &serialized_proto);
virtual void SuspendDone(const std::vector<uint8> &serialized_proto);
private:
PowerManager *power_manager_;
DISALLOW_COPY_AND_ASSIGN(PowerManagerDBusProxy);
};
} // namespace wimax_manager
#endif // WIMAX_MANAGER_POWER_MANAGER_DBUS_PROXY_H_