1
0

config.mi 1.2 KB

1234567891011121314151617181920212223242526272829
  1. //----------------------------------------------------------------------------------------------------------------
  2. // config.mi
  3. //
  4. // standard definitions for internal objects
  5. //----------------------------------------------------------------------------------------------------------------
  6. #ifndef __CONFIG_MI
  7. #define __CONFIG_MI
  8. extern class @{593DBA22-D077-4976-B952-F4713655400B}@ Object _predecl Config;
  9. extern class @{D4030282-3AAB-4d87-878D-12326FADFCD5}@ Object ConfigItem;
  10. extern class @{24DEC283-B76E-4a36-8CCC-9E24C46B6C73}@ Object ConfigAttribute;
  11. extern ConfigItem Config.getItem(String item_name);
  12. extern ConfigItem Config.getItemByGuid(String item_guid);
  13. extern ConfigItem Config.newItem(String item_name, String item_guid);
  14. extern ConfigAttribute ConfigItem.getAttribute(String attr_name);
  15. extern ConfigAttribute ConfigItem.newAttribute(String attr_name, String default_value);
  16. extern String ConfigItem.getGuid(String attr_name);
  17. extern String ConfigItem.getName(); //TODO
  18. extern ConfigAttribute.setData(String value);
  19. extern String ConfigAttribute.getData();
  20. extern ConfigAttribute.onDataChanged();
  21. extern ConfigItem ConfigAttribute.getParentItem();
  22. extern String ConfigAttribute.getAttributeName();
  23. #endif