blob: fbf32c60ec360810f864d4f09365d1ca92e627cb [file] [log] [blame]
Darin Petkove604f702011-07-28 15:51:17 -07001// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef SHILL_MODEM_SIMPLE_PROXY_INTERFACE_
6#define SHILL_MODEM_SIMPLE_PROXY_INTERFACE_
7
8#include "shill/dbus_properties.h"
9
10namespace shill {
11
12// These are the methods that a ModemManager.Modem.Simple proxy must
13// support. The interface is provided so that it can be mocked in tests.
14class ModemSimpleProxyInterface {
15 public:
16 virtual ~ModemSimpleProxyInterface() {}
17
18 virtual DBusPropertiesMap GetStatus() = 0;
Darin Petkovc5f56562011-08-06 16:40:05 -070019 virtual void Connect(const DBusPropertiesMap &properties) = 0;
Darin Petkove604f702011-07-28 15:51:17 -070020};
21
22} // namespace shill
23
24#endif // SHILL_MODEM_SIMPLE_PROXY_INTERFACE_