<?xml?>

<tm2>
  <type id="AQHMQTT_TOPIC" type="pointer">
    <descr>
    </descr>
    <lang id="c">
      <identifier>AQHMQTT_TOPIC</identifier>
      <prefix>AQHMQTT_Topic</prefix>
      <baseFileName>topic</baseFileName>
      
      <flags>
        with_list1
      </flags>
      
      <headers>
        <header type="sys" loc="pre">aqhome/api.h</header>
        <header type="sys"   loc="pre">aqhome-mqttlog/types/value.h</header>
      </headers>

      <inlines>
      </inlines>



    </lang>


    <enums>

      <enum id="AQHMQTT_TOPIC_TYPE" prefix="AQHMQTT_TopicType_">
        <item name="num" value="0">
          <descr>numeric type</descr>
        </item>
        <item name="json" >
          <descr>JSON type</descr>
        </item>
      </enum>

      <enum id="AQHMQTT_TOPIC_DIR" prefix="AQHMQTT_TopicDir_">
        <item name="in" value="0"/>
        <item name="out" />
      </enum>

    </enums>


    <members>

      <member name="topic" type="char_ptr" maxlen="128">
        <descr>Only set for registered devices</descr>
        <default>NULL</default>
        <preset>NULL</preset>
        <access>public</access>
        <flags>own</flags>
      </member>

      <member name="topicType" type="int" maxlen="8">
        <default>0</default>
        <preset>0</preset>
        <access>public</access>
        <flags></flags>
      </member>

      <member name="direction" type="int" maxlen="8">
        <default>0</default>
        <preset>0</preset>
        <access>public</access>
        <flags></flags>
      </member>

      <member name="name" type="char_ptr" maxlen="128">
        <default>NULL</default>
        <preset>NULL</preset>
        <access>public</access>
        <flags>own</flags>
      </member>

      <member name="mask" type="char_ptr" maxlen="128">
        <default>NULL</default>
        <preset>NULL</preset>
        <access>public</access>
        <flags>own</flags>
      </member>

      <member name="beforeId" type="char_ptr" maxlen="128">
        <default>NULL</default>
        <preset>NULL</preset>
        <access>public</access>
        <flags>own</flags>
      </member>

      <member name="afterId" type="char_ptr" maxlen="128">
        <default>NULL</default>
        <preset>NULL</preset>
        <access>public</access>
        <flags>own</flags>
      </member>

      <member name="valueList" type="AQHMQTT_VALUE_LIST" >
        <default>NULL</default>
        <preset>NULL</preset>
        <access>public</access>
        <flags>own</flags>
        <getflags>none</getflags>
        <setflags>none</setflags>
      </member>

    </members>
    
  </type>
  
</tm2>

