Rework how feature skin tags work (%cc currently) when used conditionally (i.e. to...
commitfeda78319b337c57b56b6edaa09f0f312b1f27db
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
parenta3888d1646ab9c37185ca132b854b238260e6565
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