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;
31 wxArrayLong AccountRefresh;
37 wxString GetAccountName(int AccountNum);
38 wxString GetAccountType(int AccountNum);
39 wxString GetAccountAddress(int AccountNum);
40 int GetAccountPort(int AcconutNum);
41 bool GetAccountSSL(int AccountNum);
42 wxString GetAccountUsername(int AccountNum);
43 wxString GetAccountPassword(int AccountNum);
44 wxString GetAccountDirectory(int AccountNum);
45 wxString GetAccountDirPrefix(int AccountNum);
46 long GetAccountRefresh(int AccountNum);
47 int AddAccount(wxString NewAccName,
49 wxString NewAccAddress,
54 wxString NewAccDirPrefix,
60 //XABPreferences should emulate what is in the Preferences window.
61 //Including others which aren't in the window such as main window
69 bool SaveWindowPos = FALSE;
70 wxRect MainWindowData;
71 bool HideLocalABs = FALSE;
74 bool EnableThemes = FALSE;
82 XABPreferences(wxString PreferencesFilename);
85 XABPrefAccounts accounts;
88 int WritePreferences();
89 int ReadPreferences();
91 bool GetBoolData(wxString SettingName);
92 bool SetBoolData(wxString SettingName, bool SettingValue);
93 wxRect GetMainWindowData();
94 void SetMainWindowData(wxRect WindowData);
96 //int AddAccount(wxString Name);
99 wxString GetThemeData(wxString ThemeName);