6 #ifndef EventsRemover_H
7 #define EventsRemover_H
10 #include "GDCore/IDE/Events/ArbitraryEventsWorker.h"
11 #include "GDCore/String.h"
34 void AddEventToRemove(
gd::BaseEvent &event) { eventsToRemove.insert(&event); }
36 instructionsToRemove.insert(&instruction);
41 return eventsToRemove.count(&event) != 0;
46 return instructionsToRemove.count(&instruction) != 0;
49 std::set<gd::BaseEvent *> eventsToRemove;
50 std::set<gd::Instruction *> instructionsToRemove;
ArbitraryEventsWorker is an abstract class used to browse events (and instructions) and do some work ...
Definition: ArbitraryEventsWorker.h:111
Base class defining an event.
Definition: Event.h:43
Allow to safely remove a bunch of events.
Definition: EventsRemover.h:29
An instruction is a member of an event: It can be a condition or an action.
Definition: Instruction.h:30
Definition: CommonTools.h:24