Started adding an event layer.
This commit is contained in:
30
aqhome/events/eventhandler_p.h
Normal file
30
aqhome/events/eventhandler_p.h
Normal file
@@ -0,0 +1,30 @@
|
||||
/****************************************************************************
|
||||
* This file is part of the project Gwenhywfar.
|
||||
* Gwenhywfar (c) by 2023 Martin Preuss, all rights reserved.
|
||||
*
|
||||
* The license for this file can be found in the file COPYING which you
|
||||
* should have received along with this file.
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef AQH_EVENT_HANDLER_P_H
|
||||
#define AQH_EVENT_HANDLER_P_H
|
||||
|
||||
|
||||
#include "aqhome/events/eventhandler.h"
|
||||
|
||||
|
||||
|
||||
struct AQH_EVENT_HANDLER {
|
||||
GWEN_INHERIT_ELEMENT(AQH_EVENT_HANDLER)
|
||||
GWEN_LIST_ELEMENT(AQH_EVENT_HANDLER)
|
||||
|
||||
uint64_t lastTimerId;
|
||||
AQH_EVENT_TIMER_LIST *timerList;
|
||||
AQH_EVENT_SUBSCRIPTION_LIST *subscriptionList;
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user