blob: 8982be81eb611e83c9235f70a2723fce37b9a673 [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_NETWORK_DBUS_ADAPTOR_H_
#define WIMAX_MANAGER_NETWORK_DBUS_ADAPTOR_H_
#include <string>
#include <base/macros.h>
#include "wimax_manager/dbus_adaptor.h"
#include "wimax_manager/dbus_adaptors/org.chromium.WiMaxManager.Network.h"
namespace wimax_manager {
class Network;
class NetworkDBusAdaptor : public org::chromium::WiMaxManager::Network_adaptor,
public DBusAdaptor {
public:
NetworkDBusAdaptor(DBus::Connection* connection, Network* network);
~NetworkDBusAdaptor() override = default;
static std::string GetNetworkObjectPath(const Network& network);
void UpdateProperties();
private:
Network* network_;
DISALLOW_COPY_AND_ASSIGN(NetworkDBusAdaptor);
};
} // namespace wimax_manager
#endif // WIMAX_MANAGER_NETWORK_DBUS_ADAPTOR_H_