blob: fee76ec58d9120a503e8162c96d2ef80234e7cd6 [file] [log] [blame]
// Copyright 2021 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef RMAD_UTILS_CMD_UTILS_IMPL_H_
#define RMAD_UTILS_CMD_UTILS_IMPL_H_
#include "rmad/utils/cmd_utils.h"
#include <string>
#include <vector>
namespace rmad {
class CmdUtilsImpl : public CmdUtils {
public:
CmdUtilsImpl() = default;
~CmdUtilsImpl() override = default;
bool GetOutput(const std::vector<std::string>& argv,
std::string* output) const override;
bool GetOutputAndError(const std::vector<std::string>& argv,
std::string* output) const override;
};
} // namespace rmad
#endif // RMAD_UTILS_CMD_UTILS_IMPL_H_