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();
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI Keymapping(::Keymapping const&);
32
33 MCAPI Keymapping(::std::string const& action, int defaultKey);
34
35 MCAPI void operator=(::Keymapping const& rhs);
36
37 MCAPI ~Keymapping();
38 // NOLINTEND
39
40public:
41 // constructor thunks
42 // NOLINTBEGIN
43 MCAPI void* $ctor(::Keymapping const&);
44
45 MCAPI void* $ctor(::std::string const& action, int defaultKey);
46
47 MCAPI void*
48 $ctor(::std::string const& action, ::std::vector<int> const& defaultKeys, bool allowRemap, bool sharedKey);
49 // NOLINTEND
50
51public:
52 // destructor thunk
53 // NOLINTBEGIN
54 MCFOLD void $dtor();
55 // NOLINTEND
56};
Definition Keymapping.h:5