mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 12:09:19 +02:00
pch migration to modules [wip]
This commit is contained in:
36
input/editorkeyboardinput.cppm
Normal file
36
input/editorkeyboardinput.cppm
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
This Source Code Form is subject to the
|
||||
terms of the Mozilla Public License, v.
|
||||
2.0. If a copy of the MPL was not
|
||||
distributed with this file, You can
|
||||
obtain one at
|
||||
http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
module;
|
||||
|
||||
export module eu07.input.editorkeyboardinput;
|
||||
import eu07.input.keyboardinput;
|
||||
|
||||
export {
|
||||
|
||||
|
||||
|
||||
class editorkeyboard_input : public keyboard_input {
|
||||
|
||||
public:
|
||||
// methods
|
||||
bool
|
||||
init() override;
|
||||
// re-applies default bindings for the current movement scheme (e.g. after a settings change)
|
||||
void
|
||||
apply_scheme();
|
||||
|
||||
protected:
|
||||
// methods
|
||||
void
|
||||
default_bindings() override;
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
} // export
|
||||
Reference in New Issue
Block a user