Experiment in graphics programming, C++, OpenGL, simulation techniques.
{#} | Time | Hash | Subject | Author | # | (+) | (-) | GPG? |
---|---|---|---|---|---|---|---|---|
4 | 05 Aug 2023 20:50 | 0dd781a | Create event handling and threads structure | Josh Stockin | 1 | 16 | 0 | G |
1 | #ifndef IEVENT_KEYBOARD_SUBSCRIBER_HPP_ |
2 | #define IEVENT_KEYBOARD_SUBSCRIBER_HPP_ |
3 | |
4 | |
5 | #include <cstdint> |
6 | |
7 | |
8 | class IEventKeyboardSubscriber |
9 | { |
10 | public: |
11 | virtual void OnKeyPressEvent(uint64_t key_code, uint64_t key_mod) = 0; |
12 | virtual void OnKeyReleaseEvent(uint64_t key_code, uint64_t key_mod) = 0; |
13 | }; |
14 | |
15 | |
16 | #endif /* IEVENT_KEYBOARD_SUBSCRIBER_HPP_ */ |
17 |