Rework how feature skin tags work (%cc currently) when used conditionally (i.e. to...
commitce71d1643481424daf9c29979dde85b96b141107
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Sun, 1 Nov 2009 23:35:14 +0000 (1 23:35 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Sun, 1 Nov 2009 23:35:14 +0000 (1 23:35 +0000)
treea24435818074711bf948bc218afd08174e6fbcfc
parentcf080c3f77c28be2e770c44dd4ca7699b074fa61
Rework how feature skin tags work (%cc currently) when used conditionally (i.e. to detect a feature).
If the feature is known to be unavailable at compile time or runtime detected, then let parsing skip over the true case. That enables parsing skins that properly put tags not available on a target within these tags. In the past the true case was parsed even if never could be true, which led to unexpected parsing failures.
Parsing %cc<%St|time format|[..]|> is now possible on target where that setting doesn't exist (the %St parser wold fail).
More of these tags are to be added, for example to indicate fm radio or recording capabilities.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23479 a1c6a512-1295-4272-9138-f99709370657
apps/gui/skin_engine/skin_parser.c