Difference between revisions of "User talk:Ronie"

From Official Kodi Wiki
Jump to: navigation, search
(Blanked the page)
Line 1: Line 1:
 +
WIP - settings.xml
  
 +
=settings.xml=
 +
<syntaxhighlight lang="xml" enclose="div">
 +
<?xml version="1.0" encoding="utf-8" ?>
 +
<settings>
 +
<section>
 +
<category>
 +
<group>
 +
<setting></setting>
 +
<setting></setting>
 +
</group>
 +
<group>
 +
<setting></setting>
 +
</group>
 +
</category>
 +
</section>
 +
</settings>
 +
</syntaxhighlight>
 +
 +
=settings=
 +
<syntaxhighlight lang="xml" enclose="div">
 +
<settings version="1">
 +
</syntaxhighlight>
 +
 +
=section=
 +
<syntaxhighlight lang="xml" enclose="div">
 +
<section id="addon" label="31001" help="31002">
 +
</syntaxhighlight>
 +
 +
=category=
 +
<syntaxhighlight lang="xml" enclose="div">
 +
<category id="videoplayer" label="31003" help="31004">
 +
</syntaxhighlight>
 +
 +
=group=
 +
<syntaxhighlight lang="xml" enclose="div">
 +
<group id="1" label="31005">
 +
</syntaxhighlight>
 +
 +
 +
=setting=
 +
<syntaxhighlight lang="xml" enclose="div">
 +
<setting id="delay" type="integer" label="31006" help="31007">
 +
</syntaxhighlight>
 +
 +
 +
 +
==control==
 +
 +
=todo=
 +
#define SETTING_XML_ROOT "settings"
 +
#define SETTING_XML_ROOT_VERSION "version"
 +
 +
#define SETTING_XML_ELM_SECTION "section"
 +
#define SETTING_XML_ELM_CATEGORY "category"
 +
#define SETTING_XML_ELM_GROUP "group"
 +
#define SETTING_XML_ELM_SETTING "setting"
 +
#define SETTING_XML_ELM_VISIBLE "visible"
 +
#define SETTING_XML_ELM_REQUIREMENT "requirement"
 +
#define SETTING_XML_ELM_CONDITION "condition"
 +
#define SETTING_XML_ELM_LEVEL "level"
 +
#define SETTING_XML_ELM_DEFAULT "default"
 +
#define SETTING_XML_ELM_VALUE "value"
 +
#define SETTING_XML_ELM_CONTROL "control"
 +
#define SETTING_XML_ELM_CONSTRAINTS "constraints"
 +
#define SETTING_XML_ELM_OPTIONS "options"
 +
#define SETTING_XML_ELM_OPTION "option"
 +
#define SETTING_XML_ELM_MINIMUM "minimum"
 +
#define SETTING_XML_ELM_STEP "step"
 +
#define SETTING_XML_ELM_MAXIMUM "maximum"
 +
#define SETTING_XML_ELM_ALLOWEMPTY "allowempty"
 +
#define SETTING_XML_ELM_DEPENDENCIES "dependencies"
 +
#define SETTING_XML_ELM_DEPENDENCY "dependency"
 +
#define SETTING_XML_ELM_UPDATES "updates"
 +
#define SETTING_XML_ELM_UPDATE "update"
 +
#define SETTING_XML_ELM_ACCESS "access"
 +
#define SETTING_XML_ELM_DELIMITER "delimiter"
 +
#define SETTING_XML_ELM_MINIMUM_ITEMS "minimumitems"
 +
#define SETTING_XML_ELM_MAXIMUM_ITEMS "maximumitems"
 +
#define SETTING_XML_ELM_DATA "data"
 +
 +
#define SETTING_XML_ATTR_ID "id"
 +
#define SETTING_XML_ATTR_LABEL "label"
 +
#define SETTING_XML_ATTR_HELP "help"
 +
#define SETTING_XML_ATTR_TYPE "type"
 +
#define SETTING_XML_ATTR_PARENT "parent"
 +
#define SETTING_XML_ATTR_FORMAT "format"
 +
#define SETTING_XML_ATTR_DELAYED "delayed"
 +
#define SETTING_XML_ATTR_ON "on"
 +
#define SETTING_XML_ATTR_OPERATOR "operator"
 +
#define SETTING_XML_ATTR_NAME "name"
 +
#define SETTING_XML_ATTR_SETTING "setting"
 +
#define SETTING_XML_ATTR_BEFORE "before"
 +
#define SETTING_XML_ATTR_AFTER "after"
 +
 +
#define SETTING_XML_ELM_CONTROL_FORMATLABEL "formatlabel"
 +
#define SETTING_XML_ELM_CONTROL_HIDDEN "hidden"
 +
#define SETTING_XML_ELM_CONTROL_VERIFYNEW "verifynew"
 +
#define SETTING_XML_ELM_CONTROL_HEADING "heading"
 +
#define SETTING_XML_ELM_CONTROL_HIDEVALUE "hidevalue"
 +
#define SETTING_XML_ELM_CONTROL_MULTISELECT "multiselect"
 +
#define SETTING_XML_ELM_CONTROL_POPUP "popup"
 +
#define SETTING_XML_ELM_CONTROL_FORMATVALUE "value"
 +
#define SETTING_XML_ATTR_SHOW_MORE "more"
 +
#define SETTING_XML_ATTR_SHOW_DETAILS "details"
 +
#define SETTING_XML_ATTR_SEPARATOR_POSITION "separatorposition"
 +
#define SETTING_XML_ATTR_HIDE_SEPARATOR "hideseparator"

Revision as of 00:44, 19 December 2019

WIP - settings.xml

1 settings.xml

<?xml version="1.0" encoding="utf-8" ?>
<settings>
	<section>
		<category>
			<group>
				<setting></setting>
				<setting></setting>
			</group>
			<group>
				<setting></setting>
			</group>
		</category>
	</section>
</settings>

2 settings

<settings version="1">

3 section

<section id="addon" label="31001" help="31002">

4 category

<category id="videoplayer" label="31003" help="31004">

5 group

<group id="1" label="31005">


6 setting

<setting id="delay" type="integer" label="31006" help="31007">


6.1 control

7 todo

  1. define SETTING_XML_ROOT "settings"
  2. define SETTING_XML_ROOT_VERSION "version"
  1. define SETTING_XML_ELM_SECTION "section"
  2. define SETTING_XML_ELM_CATEGORY "category"
  3. define SETTING_XML_ELM_GROUP "group"
  4. define SETTING_XML_ELM_SETTING "setting"
  5. define SETTING_XML_ELM_VISIBLE "visible"
  6. define SETTING_XML_ELM_REQUIREMENT "requirement"
  7. define SETTING_XML_ELM_CONDITION "condition"
  8. define SETTING_XML_ELM_LEVEL "level"
  9. define SETTING_XML_ELM_DEFAULT "default"
  10. define SETTING_XML_ELM_VALUE "value"
  11. define SETTING_XML_ELM_CONTROL "control"
  12. define SETTING_XML_ELM_CONSTRAINTS "constraints"
  13. define SETTING_XML_ELM_OPTIONS "options"
  14. define SETTING_XML_ELM_OPTION "option"
  15. define SETTING_XML_ELM_MINIMUM "minimum"
  16. define SETTING_XML_ELM_STEP "step"
  17. define SETTING_XML_ELM_MAXIMUM "maximum"
  18. define SETTING_XML_ELM_ALLOWEMPTY "allowempty"
  19. define SETTING_XML_ELM_DEPENDENCIES "dependencies"
  20. define SETTING_XML_ELM_DEPENDENCY "dependency"
  21. define SETTING_XML_ELM_UPDATES "updates"
  22. define SETTING_XML_ELM_UPDATE "update"
  23. define SETTING_XML_ELM_ACCESS "access"
  24. define SETTING_XML_ELM_DELIMITER "delimiter"
  25. define SETTING_XML_ELM_MINIMUM_ITEMS "minimumitems"
  26. define SETTING_XML_ELM_MAXIMUM_ITEMS "maximumitems"
  27. define SETTING_XML_ELM_DATA "data"
  1. define SETTING_XML_ATTR_ID "id"
  2. define SETTING_XML_ATTR_LABEL "label"
  3. define SETTING_XML_ATTR_HELP "help"
  4. define SETTING_XML_ATTR_TYPE "type"
  5. define SETTING_XML_ATTR_PARENT "parent"
  6. define SETTING_XML_ATTR_FORMAT "format"
  7. define SETTING_XML_ATTR_DELAYED "delayed"
  8. define SETTING_XML_ATTR_ON "on"
  9. define SETTING_XML_ATTR_OPERATOR "operator"
  10. define SETTING_XML_ATTR_NAME "name"
  11. define SETTING_XML_ATTR_SETTING "setting"
  12. define SETTING_XML_ATTR_BEFORE "before"
  13. define SETTING_XML_ATTR_AFTER "after"
  1. define SETTING_XML_ELM_CONTROL_FORMATLABEL "formatlabel"
  2. define SETTING_XML_ELM_CONTROL_HIDDEN "hidden"
  3. define SETTING_XML_ELM_CONTROL_VERIFYNEW "verifynew"
  4. define SETTING_XML_ELM_CONTROL_HEADING "heading"
  5. define SETTING_XML_ELM_CONTROL_HIDEVALUE "hidevalue"
  6. define SETTING_XML_ELM_CONTROL_MULTISELECT "multiselect"
  7. define SETTING_XML_ELM_CONTROL_POPUP "popup"
  8. define SETTING_XML_ELM_CONTROL_FORMATVALUE "value"
  9. define SETTING_XML_ATTR_SHOW_MORE "more"
  10. define SETTING_XML_ATTR_SHOW_DETAILS "details"
  11. define SETTING_XML_ATTR_SEPARATOR_POSITION "separatorposition"
  12. define SETTING_XML_ATTR_HIDE_SEPARATOR "hideseparator"