5#ifndef MIDDAY_COMMANDER_ACTION_H
6#define MIDDAY_COMMANDER_ACTION_H
11#include "../FileView.h"
22 [[nodiscard]]
virtual std::unique_ptr<Action>
clone()
const = 0;
An abstract class representing a general operation in the program.
Definition: Action.h:17
virtual std::unique_ptr< Action > clone() const =0
virtual void execute(FileView &, State &)=0
virtual ~Action()=default
Represents a file view of the Application.
Definition: FileView.h:16
Holds the global state of the Application.
Definition: State.h:16