LeviLamina
Loading...
Searching...
No Matches
Keymapping.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5class Keymapping {
6public:
7 // member variables
8 // NOLINTBEGIN
9 ::ll::TypedStorage<8, 32, ::std::string> mAction;
10 ::ll::TypedStorage<8, 24, ::std::vector<int>> mKeys;
11 ::ll::TypedStorage<1, 1, bool> mAllowRemap;
12 ::ll::TypedStorage<1, 1, bool> mIsSharedKey;
13 // NOLINTEND
14
15public:
16 LLNDAPI bool isAssigned() const;
17 LLNDAPI bool isAltKey() const;
18 LLNDAPI bool isRemappable() const;
19 LLNDAPI bool isSharedKey() const;
20
21 LLNDAPI Keymapping(std::string const& action, std::vector<int> const& defaultKeys);
22 LLNDAPI Keymapping(std::string const& action, std::vector<int> const& defaultKeys, bool allowRemap, bool sharedKey);
23
24public:
25 // prevent constructor by default
26 Keymapping& operator=(Keymapping const&);
27 Keymapping();
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI Keymapping(::Keymapping const&);
33
34 MCAPI Keymapping(::std::string const& action, int defaultKey);
35
36 MCAPI ~Keymapping();
37 // NOLINTEND
38
39public:
40 // constructor thunks
41 // NOLINTBEGIN
42 MCAPI void* $ctor(::Keymapping const&);
43
44 MCAPI void* $ctor(::std::string const& action, int defaultKey);
45 // NOLINTEND
46
47public:
48 // destructor thunk
49 // NOLINTBEGIN
50 MCFOLD void $dtor();
51 // NOLINTEND
52};
Definition Keymapping.h:5