2017-12-25 23:49:48 +00:00
|
|
|
#ifndef KEYEVENT_HPP_INCLUDED
|
|
|
|
#define KEYEVENT_HPP_INCLUDED
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
#include "Object.hpp"
|
|
|
|
|
2018-12-27 18:17:09 +00:00
|
|
|
namespace Internal
|
2017-12-25 23:49:48 +00:00
|
|
|
{
|
2018-12-27 18:17:09 +00:00
|
|
|
class KeyEvent : public Object
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
KeyEvent(const void* Obj);
|
|
|
|
KeyEvent(Object Source, std::int32_t ID, std::int64_t When, std::int32_t Modifiers,
|
|
|
|
std::int32_t KeyCode, std::uint16_t KeyChar, std::int32_t KeyLocation);
|
|
|
|
|
|
|
|
KeyEvent() = default;
|
|
|
|
KeyEvent(KeyEvent&& Obj) = default;
|
|
|
|
KeyEvent(const KeyEvent& Obj) = default;
|
|
|
|
KeyEvent& operator=(KeyEvent&& Obj) = default;
|
|
|
|
KeyEvent& operator=(const KeyEvent& Obj) = default;
|
|
|
|
};
|
|
|
|
}
|
2017-12-25 23:49:48 +00:00
|
|
|
|
|
|
|
#endif // KEYEVENT_HPP_INCLUDED
|