Started adding an event layer.

This commit is contained in:
Martin Preuss
2023-10-12 00:35:08 +02:00
parent 077b367299
commit 16e08d623d
11 changed files with 761 additions and 0 deletions

View 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