Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
camelCase: Converted code in main.cpp and common directories
[xestiacalendar/.git] / source / common / preferences.h
index bf849bf..09a97d1 100644 (file)
@@ -30,48 +30,48 @@ class XCALPrefThemes
 private:
 
 public:
-    wxArrayString      ThemeName;
-    wxArrayString      ThemeData;  
+    wxArrayString      themeName;
+    wxArrayString      themeData;  
 };
 
 class XCALPrefAccounts
 {
 private:
-    wxArrayString      AccountName;
-    wxArrayString      AccountType;
-    wxArrayString      AccountAddress;
-    wxArrayInt         AccountPort;
-    wxArrayInt         AccountSSL;
-    wxArrayString      AccountUsername;
-    wxArrayString      AccountPassword;
-    wxArrayString      DirectoryPrefix;
-    wxArrayString      AccountDirectory;
-    wxArrayLong                AccountRefresh;
-    int                        AccountsCount;
+    wxArrayString      accountName;
+    wxArrayString      accountType;
+    wxArrayString      accountAddress;
+    wxArrayInt         accountPort;
+    wxArrayInt         accountSSL;
+    wxArrayString      accountUsername;
+    wxArrayString      accountPassword;
+    wxArrayString      directoryPrefix;
+    wxArrayString      accountDirectory;
+    wxArrayLong                accountRefresh;
+    int                        accountsCount;
 public:
     XCALPrefAccounts();
   
     int GetCount();
-    wxString GetAccountName(int AccountNum);
-    wxString GetAccountType(int AccountNum);
-    wxString GetAccountAddress(int AccountNum);
-    int        GetAccountPort(int AcconutNum);
-    bool GetAccountSSL(int AccountNum);
-    wxString GetAccountUsername(int AccountNum);
-    wxString GetAccountPassword(int AccountNum);
-    wxString GetAccountDirectory(int AccountNum);
-    wxString GetAccountDirPrefix(int AccountNum);
-    long GetAccountRefresh(int AccountNum);
-    int AddAccount(wxString NewAccName,
-       wxString NewAccType,
-       wxString NewAccAddress,
-       int NewAccPort,
-       int NewAccSSL,
-       wxString NewAccUser,
-       wxString NewAccPass,
-       wxString NewAccDirPrefix,
-       wxString NewAccDir,
-       long NewAccRefresh
+    wxString GetAccountName(int accountNum);
+    wxString GetAccountType(int accountNum);
+    wxString GetAccountAddress(int accountNum);
+    int        GetAccountPort(int acconutNum);
+    bool GetAccountSSL(int accountNum);
+    wxString GetAccountUsername(int accountNum);
+    wxString GetAccountPassword(int accountNum);
+    wxString GetAccountDirectory(int accountNum);
+    wxString GetAccountDirPrefix(int accountNum);
+    long GetAccountRefresh(int accountNum);
+    int AddAccount(wxString newAccName,
+       wxString newAccType,
+       wxString newAccAddress,
+       int newAccPort,
+       int newAccSSL,
+       wxString newAccUser,
+       wxString newAccPass,
+       wxString newAccDirPrefix,
+       wxString newAccDir,
+       long newAccRefresh
     );
 };
 
@@ -84,20 +84,20 @@ class XCALPreferences
 private:
     
     // General Tab
-    bool SaveWindowPos = FALSE;
-    wxRect MainWindowData;
-    bool HideLocalABs = FALSE;
+    bool saveWindowPos = FALSE;
+    wxRect mainWindowData;
+    bool hideLocalABs = FALSE;
     
     // Themes tab
-    bool EnableThemes = FALSE;
+    bool enableThemes = FALSE;
     
     // Accounts tab
     
     // General things.
-    wxString Filename;
+    wxString filename;
     
 public:
-    XCALPreferences(wxString PreferencesFilename);
+    XCALPreferences(wxString preferencesFilename);
     ~XCALPreferences();
     
     XCALPrefAccounts accounts;
@@ -106,17 +106,17 @@ public:
     int WritePreferences();
     int ReadPreferences();
     
-    bool GetBoolData(wxString SettingName);
-    bool SetBoolData(wxString SettingName, bool SettingValue);
+    bool GetBoolData(wxString settingName);
+    bool SetBoolData(wxString settingName, bool settingValue);
     wxRect GetMainWindowData();
-    void SetMainWindowData(wxRect WindowData);
+    void SetMainWindowData(wxRect windowData);
     
     //int AddAccount(wxString Name);
     
     int GetThemeCount();
-    wxString GetThemeData(wxString ThemeName);
+    wxString GetThemeData(wxString themeName);
     
-    int ErrorFlag;
+    int errorFlag;
     
 };
 
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy