5#ifndef MIDDAY_COMMANDER_CREATEFILEACTION_H
6#define MIDDAY_COMMANDER_CREATEFILEACTION_H
8#include "../OnceAction.h"
15 [[nodiscard]] std::unique_ptr<Action>
clone()
const override;
An Action that creates a blank file (user is asked for filename)
Definition: CreateFileAction.h:13
std::unique_ptr< Action > clone() const override
Definition: CreateFileAction.cpp:25
void executeAction(FileView &, State &) override
Definition: CreateFileAction.cpp:11
Represents a file view of the Application.
Definition: FileView.h:16
A base class for Actions that are supposed to fire once.
Definition: OnceAction.h:13
Holds the global state of the Application.
Definition: State.h:16