blob: c77d4562cfdc66511bbcbd5b5cc1d577aa53d6f3 [file] [log] [blame]
Darin Petkov50308cd2011-06-01 18:25:07 -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_DHCP_PROVIDER_
6#define SHILL_DHCP_PROVIDER_
7
8#include <base/memory/singleton.h>
9
10namespace shill {
11
12class DHCPProvider {
13 public:
14 // This is a singleton -- use DHCPProvider::GetInstance()->Foo()
15 static DHCPProvider *GetInstance();
16
17 private:
18 friend struct DefaultSingletonTraits<DHCPProvider>;
19
20 DHCPProvider();
21 virtual ~DHCPProvider();
22
23 DISALLOW_COPY_AND_ASSIGN(DHCPProvider);
24};
25
26} // namespace shill
27
28#endif // SHILL_DHCP_PROVIDER_