LibGUI: Add EngineType to EditingEngine classes

This will allow users of EditingEngine classes to determine current type
of EditingEngine (currently either vim or regular).
This commit is contained in:
scwfri 2021-12-08 16:26:20 -06:00 committed by Andreas Kling
commit fa94978a7e
Notes: sideshowbarker 2024-07-19 17:11:56 +09:00
3 changed files with 13 additions and 0 deletions

View file

@ -19,6 +19,7 @@ public:
private:
void sort_selected_lines();
virtual EngineType engine_type() const override { return EngineType::Regular; }
};
}