blob: c4f4c9c6546dd704635563c8d72b30a057e2ae39 [file] [log] [blame]
Darin Petkovbec79a22011-08-01 14:47: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_CDMA_PROXY_INTERFACE_
6#define SHILL_MODEM_CDMA_PROXY_INTERFACE_
7
8#include <base/basictypes.h>
9
10namespace shill {
11
12// These are the methods that a ModemManager.Modem.CDMA proxy must support. The
13// interface is provided so that it can be mocked in tests.
14class ModemCDMAProxyInterface {
15 public:
16 virtual ~ModemCDMAProxyInterface() {}
17
18 virtual void GetRegistrationState(uint32 *cdma_1x_state,
19 uint32 *evdo_state) = 0;
20};
21
22} // namespace shill
23
24#endif // SHILL_MODEM_CDMA_PROXY_INTERFACE_