X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2FfrmMain.h;h=24f4032312a0bc00f3651e9176cc9f0e108e9c25;hb=3bb2446a2c641871c2478b5b1a4a271d7843a5e6;hp=e3844af805ec0c0cea8135759ae12c9e156bd57a;hpb=53d77f5310765e248097da0c2f7056efd7c67488;p=xestiaab%2F.git diff --git a/source/frmMain.h b/source/frmMain.h index e3844af..24f4032 100644 --- a/source/frmMain.h +++ b/source/frmMain.h @@ -40,6 +40,8 @@ Subclass of frmMainADT, which is generated by wxFormBuilder. #if defined(__APPLE__) #import #import +#elif defined(__WIN32__) +#include "common/win32ssl.h" #endif #include "common/timers.h" @@ -73,6 +75,7 @@ DECLARE_EVENT_TYPE(WINDOW_EDIT, wxID_ANY); DECLARE_EVENT_TYPE(WINDOW_CLOSE, wxID_ANY); DECLARE_EVENT_TYPE(CONNSTAT_UPDATE, wxID_ANY); DECLARE_EVENT_TYPE(INVALIDSSLCERT, wxID_ANY); +DECLARE_EVENT_TYPE(INVALIDSSLCERTSTRING, wxID_ANY); DECLARE_EVENT_TYPE(GETSELECTEDLIST, wxID_ANY); DECLARE_EVENT_TYPE(SYNCACCOUNT, wxID_ANY); DECLARE_EVENT_TYPE(IMPORT_RESULTSSHOW, wxID_ANY); @@ -127,8 +130,10 @@ class frmMain : public frmMainADT std::map AccountAccDirList; #if defined(__APPLE__) std::map AccountTrustData; +#elif defined(__WIN32__) + std::map AccountCertificateData; #else - std::map AccountSSLData; + std::map AccountSSLData; #endif std::map AccountSSLResult; std::multimap AccountGroupList; @@ -167,6 +172,7 @@ class frmMain : public frmMainADT int AccountID; int AccountNetID; int AccountGrpID; + int AccountUnsupportedID; int AccountNoneID; bool ReloadAccounts = FALSE; bool AscendingMode = FALSE; @@ -184,6 +190,12 @@ class frmMain : public frmMainADT wxBitmap *imgSSLWarning = NULL; wxBitmap *imgOnline = NULL; wxBitmap *imgOffline = NULL; + wxBitmap *imgAddAddressBook = NULL; + wxBitmap *imgPreferences = NULL; + wxBitmap *imgSearchContacts = NULL; + wxBitmap *imgAddContact = NULL; + wxBitmap *imgEditContact = NULL; + wxBitmap *imgDeleteContact = NULL; int ActivityIconStatus = 0; int SearchUID = 0; int ContactUID = 0; @@ -249,6 +261,7 @@ class frmMain : public frmMainADT void UpdateConnectionStatus( wxCommandEvent& event ); void SetupSSLStatus( int AccountID ); void InvalidSSLCertificate( wxCommandEvent& event ); + void InvalidSSLCertificateString( wxCommandEvent& event ); void CheckUpdates( wxCommandEvent& event ); void OpenImportDialog( wxCommandEvent& event ); void OpenExportDialog( wxCommandEvent& event ); @@ -274,8 +287,10 @@ class frmMain : public frmMainADT XABViewMode GetViewMode(); #if defined(__APPLE__) void UpdateSSLAccountStatus(int AccountID, int SSLStatus, SecTrustRef SecurityTrustObject); +#elif defined(__WIN32__) + void UpdateSSLAccountStatus(int AccountID, int SSLStatus, PCCERT_CONTEXT CertificateContext); #else - void UpdateSSLAccountStatus(int AccountID, int SSLStatus, SSLCertCollection SSLCertInc); + void UpdateSSLAccountStatus(int AccountID, int SSLStatus, SSLCertCollectionString SSLCertInc); #endif DECLARE_EVENT_TABLE()