5#ifndef MIDDAY_COMMANDER_OPENACTION_H
6#define MIDDAY_COMMANDER_OPENACTION_H
8#include "../OnceAction.h"
15 [[nodiscard]] std::unique_ptr<Action>
clone()
const override;
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
An Action that sets FileView.wd to the Folder under FileView.cursor (if it is Folder)
Definition: OpenAction.h:13
void executeAction(FileView &, State &) override
Definition: OpenAction.cpp:8
std::unique_ptr< Action > clone() const override
Definition: OpenAction.cpp:14
Holds the global state of the Application.
Definition: State.h:16