7 void SavePreferences();
8 void LoadPreferences();
15 wxArrayString ThemeName;
16 wxArrayString ThemeData;
22 wxArrayString AccountName;
23 wxArrayString AccountType;
24 wxArrayString AccountAddress;
25 wxArrayInt AccountPort;
26 wxArrayInt AccountSSL;
27 wxArrayString AccountUsername;
28 wxArrayString AccountPassword;
29 wxArrayString DirectoryPrefix;
30 wxArrayString AccountDirectory;
36 wxString GetAccountName(int AccountNum);
37 wxString GetAccountType(int AccountNum);
38 wxString GetAccountAddress(int AccountNum);
39 int GetAccountPort(int AcconutNum);
40 bool GetAccountSSL(int AccountNum);
41 wxString GetAccountUsername(int AccountNum);
42 wxString GetAccountPassword(int AccountNum);
43 wxString GetAccountDirectory(int AccountNum);
44 wxString GetAccountDirPrefix(int AccountNum);
45 int AddAccount(wxString NewAccName,
47 wxString NewAccAddress,
52 wxString NewAccDirPrefix,
57 //XABPreferences should emulate what is in the Preferences window.
58 //Including others which aren't in the window such as main window
78 XABPreferences(wxString PreferencesFilename);
81 XABPrefAccounts accounts;
84 int WritePreferences();
85 int ReadPreferences();
87 bool GetBoolData(wxString SettingName);
88 bool SetBoolData(wxString SettingName, bool SettingValue);
90 //int AddAccount(wxString Name);
93 wxString GetThemeData(wxString ThemeName);