aqhome-cgi: more work on pages2

- implemented actors
- improved page files to allow for more personalization of content
This commit is contained in:
Martin Preuss
2026-08-25 23:44:02 +02:00
parent d47a496c3f
commit fa567fd7e9
17 changed files with 560 additions and 409 deletions

View File

@@ -20,6 +20,8 @@
#include <aqdiagram/graph/datapair.h>
#include <gwenhywfar/buffer.h>
#include <gwenhywfar/xml.h>
#define AQH_MODDEVICES_PERMS_DEVICEREAD 0x001
@@ -50,6 +52,9 @@ void AQH_ModDevices_SetValueList(AQCGI_MODULE *m, AQH_VALUE_LIST *valueList);
void AQH_ModDevices_ReadDevicesAndValues(AQCGI_MODULE *m, AQH_DATACLIENT *dc);
GWEN_XMLNODE *AQH_ModDevices_GetXmlTagBelow(GWEN_XMLNODE *node);
GWEN_XMLNODE *AQH_ModDevices_FindXmlElement(GWEN_XMLNODE *n, const char *tname, const char *pname, const char *pvalue);
uint32_t AQH_ModDevices_ColorFromHexString(const char *s);
uint32_t AQH_ModDevices_HtmlColorToValueRGBW(uint32_t colorIn);
@@ -73,6 +78,7 @@ AQDG_GRAPH_DATAPAIR_LIST *AQH_ModDevices_RequestDataPairList(AQH_DATACLIENT *dc,
uint64_t tsBegin, uint64_t tsEnd, uint64_t num);
void AQH_ModDevices_RedirectToDevice(AQCGI_REQUEST *rq, const char *destLocation, const AQH_DEVICE *device);
void AQH_ModDevices_RedirectToPage(AQCGI_REQUEST *rq, const char *destLocation, const char *sPageId);