aqhome-react: added more logical units (or, and, xor). started "module" unit.

module units now are units created from previous networks of units
thus introducing nested units.
This commit is contained in:
Martin Preuss
2024-04-14 23:42:10 +02:00
parent 9468911451
commit ec816bddcf
7 changed files with 1169 additions and 141 deletions

View File

@@ -0,0 +1,29 @@
/****************************************************************************
* This file is part of the project AqHome.
* AqHome (c) by 2024 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 AQHOMEREACT_U_MODULE_H
#define AQHOMEREACT_U_MODULE_H
#include "aqhome-react/aqhome_react.h"
#include "aqhome-react/types/unit.h"
#include <gwenhywfar/xml.h>
AQHREACT_UNIT *AqHomeReact_UnitModule_new(AQHOME_REACT *aqh);
AQHREACT_UNIT *AqHomeReact_UnitModule_fromXml(AQHOME_REACT *aqh, GWEN_XMLNODE *xmlNode);
#endif