midday-commander
Loading...
Searching...
No Matches
DeleteAction.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_DELETEACTION_H
6#define MIDDAY_COMMANDER_DELETEACTION_H
7
8#include "../ForEachAction.h"
9
14public:
15 [[nodiscard]] std::unique_ptr<Action> clone() const override;
16private:
17 void executeAction(FileView&, std::shared_ptr<Entry>) override;
18};
19
20#endif //MIDDAY_COMMANDER_DELETEACTION_H
An Action that deletes all Entries in State.selected.
Definition: DeleteAction.h:13
void executeAction(FileView &, std::shared_ptr< Entry >) override
Definition: DeleteAction.cpp:9
std::unique_ptr< Action > clone() const override
Definition: DeleteAction.cpp:13
Represents a file view of the Application.
Definition: FileView.h:16
A base class for Actions that are supposed to iterate over State.selected.
Definition: ForEachAction.h:13