1 /* 2 * preferences.h 3 * 4 * 5 * Created by Guillaume Borios on 03/08/04. 6 * Copyright 2004 iOS. All rights reserved. 7 * 8 */ 9 10 11 /* Set preferences */ 12 void SetBoolPreference(const char *name,int value); 13 void SetIntPreference (const char *name, int value); 14 void SetStrPreference (const char *name, const char *value); 15 16 17 /* Get preferences */ 18 int GetBoolPreference(const char *name, int defaut); 19 int GetIntPreference (const char *name, int defaut); 20 void GetStrPreference (const char *name, char *out, const char *defaut, const int bufferSize = 256); 21