Blender V4.3
GHOST_Event.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
10#pragma once
11
12#include "GHOST_IEvent.hh"
13
17class GHOST_Event : public GHOST_IEvent {
18 public:
26 : m_type(type), m_time(msec), m_window(window), m_data(nullptr)
27 {
28 }
29
35 {
36 return m_type;
37 }
38
44 {
45 return m_time;
46 }
47
54 {
55 return m_window;
56 }
57
63 {
64 return m_data;
65 }
66
67 protected:
76};
GHOST_TEventType
const void * GHOST_TEventDataPtr
GHOST_IWindow * getWindow() const
GHOST_TEventType getType() const
GHOST_TEventDataPtr getData() const
GHOST_Event(uint64_t msec, GHOST_TEventType type, GHOST_IWindow *window)
GHOST_TEventType m_type
GHOST_TEventDataPtr m_data
uint64_t getTime() const
GHOST_IWindow * m_window
uint64_t m_time
unsigned __int64 uint64_t
Definition stdint.h:90