diff options
author | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
---|---|---|
committer | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
commit | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/Wasabi/Lib/config.mi | |
parent | 537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff) | |
download | winamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz |
Initial community commit
Diffstat (limited to 'Src/Wasabi/Lib/config.mi')
-rw-r--r-- | Src/Wasabi/Lib/config.mi | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Src/Wasabi/Lib/config.mi b/Src/Wasabi/Lib/config.mi new file mode 100644 index 00000000..ce1dc25b --- /dev/null +++ b/Src/Wasabi/Lib/config.mi @@ -0,0 +1,29 @@ +//---------------------------------------------------------------------------------------------------------------- +// config.mi +// +// standard definitions for internal objects +//---------------------------------------------------------------------------------------------------------------- + +#ifndef __CONFIG_MI +#define __CONFIG_MI + +extern class @{593DBA22-D077-4976-B952-F4713655400B}@ Object _predecl Config; +extern class @{D4030282-3AAB-4d87-878D-12326FADFCD5}@ Object ConfigItem; +extern class @{24DEC283-B76E-4a36-8CCC-9E24C46B6C73}@ Object ConfigAttribute; + +extern ConfigItem Config.getItem(String item_name); +extern ConfigItem Config.getItemByGuid(String item_guid); +extern ConfigItem Config.newItem(String item_name, String item_guid); + +extern ConfigAttribute ConfigItem.getAttribute(String attr_name); +extern ConfigAttribute ConfigItem.newAttribute(String attr_name, String default_value); +extern String ConfigItem.getGuid(String attr_name); +extern String ConfigItem.getName(); //TODO + +extern ConfigAttribute.setData(String value); +extern String ConfigAttribute.getData(); +extern ConfigAttribute.onDataChanged(); +extern ConfigItem ConfigAttribute.getParentItem(); +extern String ConfigAttribute.getAttributeName(); + +#endif
\ No newline at end of file |