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

34
aqhome/events/timer_p.h Normal file
View File

@@ -0,0 +1,34 @@
/****************************************************************************
* 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_TIMER_P_H
#define AQH_EVENT_TIMER_P_H
#include "aqhome/events/timer.h"
struct AQH_EVENT_TIMER {
GWEN_INHERIT_ELEMENT(AQH_EVENT_TIMER)
GWEN_LIST_ELEMENT(AQH_EVENT_TIMER)
uint32_t flags;
int timerType;
uint64_t id;
uint64_t currentValue;
uint64_t reloadOrAlarmValue;
int eventType;
};
#endif