blob: 428aa2173c4e3a8950477c48b54a77f3b11ba31f [file] [log] [blame]
Chris Masone3bd3c8c2011-06-13 08:20:26 -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_CELLULAR_
6#define SHILL_CELLULAR_
7
8#include <string>
9
10#include <base/basictypes.h>
11
12#include "shill/cellular_service.h"
13#include "shill/device.h"
14#include "shill/shill_event.h"
15
16namespace shill {
17
18class Cellular : public Device {
19 public:
20 Cellular(ControlInterface *control_interface,
21 EventDispatcher *dispatcher,
22 Manager *manager,
23 const std::string& link,
24 int interface_index);
25 ~Cellular();
26 void Start();
27 void Stop();
28 bool TechnologyIs(Device::Technology type);
29
30 private:
31 bool service_registered_;
32 ServiceRefPtr service_;
33 DISALLOW_COPY_AND_ASSIGN(Cellular);
34};
35
36} // namespace shill
37
38#endif // SHILL_CELLULAR_