blob: 52e2d48ee899e9b51124f844c72707b365689689 [file] [log] [blame]
// Copyright (c) 2011 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 SHILL_MODEM_PROXY_INTERFACE_
#define SHILL_MODEM_PROXY_INTERFACE_
#include <dbus-c++/types.h>
namespace shill {
// These are the methods that a ModemManager.Modem proxy must support. The
// interface is provided so that it can be mocked in tests.
class ModemProxyInterface {
public:
typedef DBus::Struct<std::string, std::string, std::string> Info;
virtual ~ModemProxyInterface() {}
virtual void Enable(const bool enable) = 0;
virtual Info GetInfo() = 0;
};
} // namespace shill
#endif // SHILL_MODEM_PROXY_INTERFACE_