Skip to content

Instantly share code, notes, and snippets.

@migueldeicaza
Created January 17, 2010 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save migueldeicaza/279503 to your computer and use it in GitHub Desktop.
Save migueldeicaza/279503 to your computer and use it in GitHub Desktop.
class Settings {
bool AirplaneMode;
Sounds sounds;
Brightness brightness;
}
class Sounds {
[Icon ("silent.png")]
Section Silent;
bool Vibrate;
[Icon ("ring.png")]
Section Ring;
bool Vibrate;
[Icons ("minvolume.png", "maxvolume.png")]
float Volume;
}
class Brightness {
[Icons ("minbright.png", "maxbright.png")]
float brightness;
bool AutoBrightness;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment