////////////////////////////////////////////////////////////////////////////////
//                                                                             /
// 2012-2019 (c) Baical                                                        /
//                                                                             /
// This library is free software; you can redistribute it and/or               /
// modify it under the terms of the GNU Lesser General Public                  /
// License as published by the Free Software Foundation; either                /
// version 3.0 of the License, or (at your option) any later version.          /
//                                                                             /
// This library is distributed in the hope that it will be useful,             /
// but WITHOUT ANY WARRANTY; without even the implied warranty of              /
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU           /
// Lesser General Public License for more details.                             /
//                                                                             /
// You should have received a copy of the GNU Lesser General Public            /
// License along with this library.                                            /
//                                                                             /
////////////////////////////////////////////////////////////////////////////////
#ifndef BK_XML_H
#define BK_XML_H

#define BNODE_ROOT                                        TM("Root")
#define BNODE_ROOT_ATTR_VERSION                             TM("Version")

#define BNODE_CORE                                          TM("Core")

#define BNODE_MESSAGES                                      TM("Messages")
#define BNODE_MESSAGE_NEW                                    TM("New")
#define BNODE_MESSAGE_OLD                                    TM("Old")
#define BNODE_MESSAGE_ATTR_TEXT                                TM("Text")

#define BNODE_ELEMENT                                       TM("Element")
#define BNODE_VAL_ELEMENT_GUID                                TM("GUID")
#define BNODE_VAL_ELEMENT_NAME                                TM("Name")

#define BNODE_PROP_GROUP                                    TM("PropGroup")
#define BNODE_PROP_GROUP_ATTR_NAME                            TM("Name")
#define BNODE_PROP_GROUP_ATTR_FLAGS                           TM("Flags")
#define BNODE_PROP                                            TM("Prop")
#define BNODE_PROP_ATTR_NAME                                    TM("Name")
#define BNODE_PROP_ATTR_DESC                                    TM("Desc")
#define BNODE_PROP_ATTR_TYPE                                    TM("Type")
#define BNODE_PROP_ATTR_FLAGS                                   TM("Flags")
#define BNODE_PROP_ATTR_VALUE                                   TM("Value")
#define BNODE_PROP_ATTR_INDEX                                   TM("Index")
#define BNODE_PROP_ATTR_MIN                                     TM("Min")
#define BNODE_PROP_ATTR_MAX                                     TM("Max")
#define BNODE_PROP_ITEM                                           TM("Item")
#define BNODE_PROP_ITEM_ATTR_TEXT                                   TM("Text")
#define BNODE_PROP_ITEM_ATTR_VALUE                                  TM("Value")

// <Prop Name="Int" Desc="" Type="Int" Flags="" Value="" Min="" Max="" />
// <Prop Name="Text" Desc="" Type="Text" Flags="" Value="" />
// <Prop Name="Enum" Desc="" Type="Enum" Flags="" Index="">
//     <Item Text="Enum item1" Value="0" />
//     <Item Text="Enum item2" Value="1" />
//     <Item Text="Enum item3" Value="2" />
// </Prop>
// <PropGroup Name="A">
//     <Prop Name="Int" Desc="" Type="Int" Flags="" Value="" Min="" Max="" />
//     <PropGroup Name="B">
//     </PropGroup>
// </PropGroup>

#endif //BK_XML_H
