Blender  V3.3
GHOST_CallbackEventConsumer.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2001-2002 NaN Holding BV. All rights reserved. */
3 
9 #pragma once
10 
11 #include "GHOST_C-api.h"
12 #include "GHOST_IEventConsumer.h"
13 
19  public:
26  GHOST_TUserDataPtr userData);
27 
32  {
33  }
34 
40  bool processEvent(GHOST_IEvent *event);
41 
42  protected:
47 
48 #ifdef WITH_CXX_GUARDEDALLOC
49  MEM_CXX_CLASS_ALLOC_FUNCS("GHOST:GHOST_CallbackEventConsumer")
50 #endif
51 };
GHOST C-API function and type declarations.
bool(* GHOST_EventCallbackProcPtr)(GHOST_EventHandle event, GHOST_TUserDataPtr userdata)
Definition: GHOST_C-api.h:23
void * GHOST_TUserDataPtr
Definition: GHOST_Types.h:72
GHOST_CallbackEventConsumer(GHOST_EventCallbackProcPtr eventCallback, GHOST_TUserDataPtr userData)
bool processEvent(GHOST_IEvent *event)
GHOST_EventCallbackProcPtr m_eventCallback