Elly Jones | ad1e9d9 | 2012-07-20 15:39:23 -0400 | [diff] [blame] | 1 | // Copyright (c) 2012 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 | |
Ben Chan | a0011d8 | 2014-05-13 00:19:29 -0700 | [diff] [blame^] | 5 | #ifndef NETIF_TOOL_H_ |
| 6 | #define NETIF_TOOL_H_ |
Elly Jones | ad1e9d9 | 2012-07-20 15:39:23 -0400 | [diff] [blame] | 7 | |
| 8 | #include <string> |
| 9 | |
| 10 | #include <base/basictypes.h> |
| 11 | #include <dbus-c++/dbus.h> |
| 12 | |
| 13 | namespace debugd { |
| 14 | |
| 15 | class NetifTool { |
| 16 | public: |
| 17 | NetifTool(); |
| 18 | ~NetifTool(); |
| 19 | |
| 20 | std::string GetInterfaces(DBus::Error* error); |
Ben Chan | a0011d8 | 2014-05-13 00:19:29 -0700 | [diff] [blame^] | 21 | |
Elly Jones | ad1e9d9 | 2012-07-20 15:39:23 -0400 | [diff] [blame] | 22 | private: |
| 23 | DISALLOW_COPY_AND_ASSIGN(NetifTool); |
| 24 | }; |
| 25 | |
Ben Chan | a0011d8 | 2014-05-13 00:19:29 -0700 | [diff] [blame^] | 26 | } // namespace debugd |
Elly Jones | ad1e9d9 | 2012-07-20 15:39:23 -0400 | [diff] [blame] | 27 | |
Ben Chan | a0011d8 | 2014-05-13 00:19:29 -0700 | [diff] [blame^] | 28 | #endif // NETIF_TOOL_H_ |