midday-commander
Loading...
Searching...
No Matches
RegexSelectAction.h
Go to the documentation of this file.
1//
2// Created by Vojtěch Pašek on 21.05.2023.
3//
4
5#ifndef MIDDAY_COMMANDER_REGEXSELECTACTION_H
6#define MIDDAY_COMMANDER_REGEXSELECTACTION_H
7
8#include "../OnceAction.h"
9
14public:
15 [[nodiscard]] std::unique_ptr<Action> clone() const override;
16private:
17 void executeAction(FileView&, State&) override;
18};
19
20#endif //MIDDAY_COMMANDER_REGEXSELECTACTION_H
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 adds Entries into State.selected if their filenames matches RegEx provided by user vi...
Definition: RegexSelectAction.h:13
std::unique_ptr< Action > clone() const override
Definition: RegexSelectAction.cpp:27
void executeAction(FileView &, State &) override
Definition: RegexSelectAction.cpp:11
Holds the global state of the Application.
Definition: State.h:16