xbmc/xbmc — pull request #2698 by garbear (2013-05-06 17:41:29+00:00)
Title: Settings API: allow conditional levels

This PR enables settings levels to be conditional, in certain cases we may want the level to depend on an external factor. For example, we might assume that only advanced users would want to change a peripheral's settings from their default values when that device is unplugged. This should help with our settings levels matrix when a "one-size-fits-all" solution isn't appropriate for all HTPC setups and scenarios.

Settings level can either be a simple `2` tag or a more complex one (in this case evaluating to "1"):

```

false

true

false
true

```

needs xcode project settings (only has Makefile and VS2010 project entries)