blob: eb28bf806b0cb70bda1c4356b69e09a49b2e74f7 [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 LIBEC_REBOOT_COMMAND_H_
#define LIBEC_REBOOT_COMMAND_H_
#include <brillo/brillo_export.h>
#include "libec/ec_command.h"
namespace ec {
class BRILLO_EXPORT RebootCommand : public EcCommand<EmptyParam, EmptyParam> {
public:
RebootCommand() : EcCommand(EC_CMD_REBOOT) {}
~RebootCommand() override = default;
};
static_assert(!std::is_copy_constructible<RebootCommand>::value,
"EcCommands are not copyable by default");
static_assert(!std::is_copy_assignable<RebootCommand>::value,
"EcCommands are not copy-assignable by default");
} // namespace ec
#endif // LIBEC_REBOOT_COMMAND_H_