blob: a8f6adf4b0dd4af3e268ba60976ee20b183be9e7 [file] [log] [blame]
Darin Petkov5c97ac52011-07-19 16:30:49 -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_
6#define SHILL_MODEM_
7
8#include <string>
9
10#include <base/basictypes.h>
11#include <base/memory/scoped_ptr.h>
12
13namespace shill {
14
15class ControlInterface;
16class DBusPropertiesProxyInterface;
17class EventDispatcher;
18class Manager;
19
20// Handles an instance of ModemManager.Modem and an instance of CellularDevice.
21class Modem {
22 public:
23 Modem(const std::string &owner,
24 const std::string &path,
25 ControlInterface *control_interface,
26 EventDispatcher *dispatcher,
27 Manager *manager);
28 ~Modem();
29
30 private:
31 scoped_ptr<DBusPropertiesProxyInterface> dbus_properties_proxy_;
32
33 ControlInterface *control_interface_;
34 EventDispatcher *dispatcher_;
35 Manager *manager_;
36
37 DISALLOW_COPY_AND_ASSIGN(Modem);
38};
39
40} // namespace shill
41
42#endif // SHILL_MODEM_