// frmInvalidSSLCertificate.h - Invalid SSL Certificate form header. // // (c) 2012-2015 Xestia Software Development. // // This file is part of Xestia Address Book. // // Xestia Address Book is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by the // Free Software Foundation, version 3 of the license. // // Xestia Address Book is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License along // with Xestia Address Book. If not, see #ifndef __frmInvalidSSLCertificate__ #define __frmInvalidSSLCertificate__ /** @file Subclass of frmInvalidSSLCertificateADT, which is generated by wxFormBuilder. */ #include "AppXestiaAddrBk.h" #include "frmMain.h" #include "common/sslcertstructs.h" #include "common/structs.h" //// end generated include struct SSLInvalidCertNotifObj{ SSLCertCollection CertCollection; QRNotif *QRNotifData; wxString AccountName; }; struct SSLInvalidCertNotifObjString{ SSLCertCollectionString CertCollection; QRNotif *QRNotifData; wxString AccountName; }; /** Implementing frmInvalidSSLCertificateADT */ class frmInvalidSSLCertificate : public frmInvalidSSLCertificateADT { protected: // Handlers for frmInvalidSSLCertificateADT events. void Accept( wxCommandEvent& event ); void Reject( wxCommandEvent& event ); void ViewCertificates( wxCommandEvent& event ); private: SSLCertCollection CertData; SSLCertCollectionString CertDataString; int intResult; wxString AccountName; public: /** Constructor */ frmInvalidSSLCertificate( wxWindow* parent ); void LoadData(SSLCertCollection CertDataInc, wxString AccountNameInc); void LoadData(SSLCertCollectionString CertDataInc, wxString AccountNameInc); void LoadDataNew(SSLCertCollection CertDataInc, wxString DomainNameInc); void LoadDataNew(SSLCertCollectionString CertDataInc, std::string DomainNameInc); int GetResult(); //// end generated class members }; #endif // __frmInvalidSSLCertificate__