blob: a70507fa063c56feb86e60f18cec73fd6a628d01 [file] [log] [blame]
Elly Jonese0ec6012012-07-17 12:39:51 -04001// 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//
5// This is an example of a tool. See </src/example_tool.cc>.
6
Alex Vakulenko262be3f2014-07-30 15:25:50 -07007#ifndef DEBUGD_SRC_EXAMPLE_TOOL_H_
8#define DEBUGD_SRC_EXAMPLE_TOOL_H_
Elly Jonese0ec6012012-07-17 12:39:51 -04009
10#include <string>
11
12#include <base/basictypes.h>
13#include <dbus-c++/dbus.h>
14
15namespace debugd {
16
17class ExampleTool {
18 public:
Ben Chan78f89532014-08-29 09:35:09 -070019 ExampleTool() = default;
20 ~ExampleTool() = default;
Elly Jonese0ec6012012-07-17 12:39:51 -040021
Ben Chana0011d82014-05-13 00:19:29 -070022 std::string GetExample(DBus::Error* error);
23
Elly Jonese0ec6012012-07-17 12:39:51 -040024 private:
25 DISALLOW_COPY_AND_ASSIGN(ExampleTool);
26};
27
Ben Chana0011d82014-05-13 00:19:29 -070028} // namespace debugd
Elly Jonese0ec6012012-07-17 12:39:51 -040029
Alex Vakulenko262be3f2014-07-30 15:25:50 -070030#endif // DEBUGD_SRC_EXAMPLE_TOOL_H_