MōBrowser API
Loading...
Searching...
No Matches
shortcut.hpp
1
// Copyright (c) 2000-2024 TeamDev Ltd. All rights reserved.
2
// TeamDev PROPRIETARY and CONFIDENTIAL.
3
// Use is subject to license terms.
4
5
#ifndef MOBROWSER_SHORTCUT_HPP
6
#define MOBROWSER_SHORTCUT_HPP
7
8
#include <cstdint>
9
10
#include "mobrowser/shortcuts/key_code.hpp"
11
#include "mobrowser/shortcuts/key_modifiers.hpp"
12
13
namespace
mobrowser {
14
25
struct
Shortcut
{
26
explicit
Shortcut
(KeyCode key = KeyCode::UNKNOWN,
27
int32_t modifiers = 0);
28
29
KeyCode key = KeyCode::UNKNOWN;
30
int32_t modifiers;
31
};
32
33
}
// namespace mobrowser
34
35
#endif
// MOBROWSER_SHORTCUT_HPP
mobrowser::Shortcut
A combination of a key code and modifier keys, such as Shift, Alt, etc.
Definition
shortcut.hpp:25
include
mobrowser
shortcuts
shortcut.hpp