Blender V4.3
GHOST_CallbackEventConsumer.cc
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
14#include "GHOST_C-api.h"
15#include "GHOST_Debug.hh"
16
23
25{
26 return m_eventCallback((GHOST_EventHandle)event, m_userData);
27}
GHOST C-API function and type declarations.
bool(* GHOST_EventCallbackProcPtr)(GHOST_EventHandle event, GHOST_TUserDataPtr user_data)
Definition GHOST_C-api.h:24
void * GHOST_TUserDataPtr
Definition GHOST_Types.h:85
GHOST_CallbackEventConsumer(GHOST_EventCallbackProcPtr eventCallback, GHOST_TUserDataPtr userData)
GHOST_EventCallbackProcPtr m_eventCallback
bool processEvent(const GHOST_IEvent *event)