diff options
author | Jean-Francois Mauguit <jfmauguit@mac.com> | 2024-09-24 09:03:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 09:03:25 -0400 |
commit | bab614c421ed7ae329d26bf028c4a3b1d2450f5a (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/Wasabi/Lib/config.mi | |
parent | 4bde6044fddf053f31795b9eaccdd2a5a527d21f (diff) | |
parent | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (diff) | |
download | winamp-bab614c421ed7ae329d26bf028c4a3b1d2450f5a.tar.gz |
Merge pull request #5 from WinampDesktop/community
Merge to main
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 |