/* * SPDX-FileCopyrightText: 2018 Rerrah * SPDX-License-Identifier: MIT */ #pragma once #include #include "../abstract_command.hpp" #include "instruments_manager.hpp" class cloneInstrumentCommand final : public AbstractCommand { public: cloneInstrumentCommand(std::weak_ptr manager, int num, int refNum); bool redo() override; bool undo() override; private: std::weak_ptr manager_; int cloneInstNum_, refInstNum_; };