Started adding an event layer.
This commit is contained in:
31
aqhome/events/eventsubscription_p.h
Normal file
31
aqhome/events/eventsubscription_p.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/****************************************************************************
|
||||
* 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_EVENTSUBSCRIPTION_P_H
|
||||
#define AQH_EVENTSUBSCRIPTION_P_H
|
||||
|
||||
|
||||
#include "aqhome/events/eventsubscription.h"
|
||||
|
||||
|
||||
|
||||
struct AQH_EVENT_SUBSCRIPTION {
|
||||
GWEN_INHERIT_ELEMENT(AQH_EVENT_SUBSCRIPTION)
|
||||
GWEN_LIST_ELEMENT(AQH_EVENT_SUBSCRIPTION)
|
||||
|
||||
int eventType;
|
||||
uint64_t objectId;
|
||||
|
||||
AQH_EVENT_SUBSCRIPTION_HANDLER_FN handlerFn;
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user