Blender V4.3
GHOST_IEvent.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_Types.h"
13#include <stddef.h>
14
15class GHOST_IWindow;
16
28 public:
32 virtual ~GHOST_IEvent() {}
33
38 virtual GHOST_TEventType getType() const = 0;
39
44 virtual uint64_t getTime() const = 0;
45
51 virtual GHOST_IWindow *getWindow() const = 0;
52
57 virtual GHOST_TEventDataPtr getData() const = 0;
58
59#ifdef WITH_CXX_GUARDEDALLOC
60 MEM_CXX_CLASS_ALLOC_FUNCS("GHOST:GHOST_IEvent")
61#endif
62};
GHOST_TEventType
const void * GHOST_TEventDataPtr
virtual GHOST_TEventType getType() const =0
virtual GHOST_TEventDataPtr getData() const =0
virtual GHOST_IWindow * getWindow() const =0
virtual uint64_t getTime() const =0
virtual ~GHOST_IEvent()
unsigned __int64 uint64_t
Definition stdint.h:90