midday-commander
Loading...
Searching...
No Matches
OnceAction.h
Go to the documentation of this file.
1//
2// Created by Vojtěch Pašek on 11.05.2023.
3//
4
5#ifndef MIDDAY_COMMANDER_ONCEACTION_H
6#define MIDDAY_COMMANDER_ONCEACTION_H
7
8#include "Action.h"
9
13class OnceAction : public Action {
14public:
15 void execute(FileView&, State&) override;
16private:
17 virtual void executeAction(FileView&, State&) = 0;
18};
19
20#endif //MIDDAY_COMMANDER_ONCEACTION_H
An abstract class representing a general operation in the program.
Definition: Action.h:17
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
void execute(FileView &, State &) override
Definition: OnceAction.cpp:8
virtual void executeAction(FileView &, State &)=0
Holds the global state of the Application.
Definition: State.h:16