blob: 58e6ba4f086416ea38db585ccd6e9de89999b0e4 [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_DBUS_SERVICE_DBUS_PROXY_H_
#define WIMAX_MANAGER_DBUS_SERVICE_DBUS_PROXY_H_
#include <string>
#include <base/macros.h>
#include "wimax_manager/dbus_proxies/org.freedesktop.DBus.h"
#include "wimax_manager/dbus_proxy.h"
namespace wimax_manager {
class DBusService;
class DBusServiceDBusProxy : public org::freedesktop::DBus_proxy,
public DBusProxy {
public:
DBusServiceDBusProxy(DBus::Connection *connection, DBusService *dbus_service);
~DBusServiceDBusProxy() override = default;
void NameOwnerChanged(const std::string &name,
const std::string &old_owner,
const std::string &new_owner) override;
private:
DBusService *dbus_service_;
DISALLOW_COPY_AND_ASSIGN(DBusServiceDBusProxy);
};
} // namespace wimax_manager
#endif // WIMAX_MANAGER_DBUS_SERVICE_DBUS_PROXY_H_