Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
structs.h: Moved QRNotif to common/structs.h
[xestiaab/.git] / source / frmInvalidSSLCertificate.h
1 // frmInvalidSSLCertificate.h - Invalid SSL Certificate form header.
2 //
3 // (c) 2012-2015 Xestia Software Development.
4 //
5 // This file is part of Xestia Address Book.
6 //
7 // Xestia Address Book is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by the
9 // Free Software Foundation, version 3 of the license.
10 //
11 // Xestia Address Book is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License along
17 // with Xestia Address Book. If not, see <http://www.gnu.org/licenses/>
19 #ifndef __frmInvalidSSLCertificate__
20 #define __frmInvalidSSLCertificate__
22 /**
23 @file
24 Subclass of frmInvalidSSLCertificateADT, which is generated by wxFormBuilder.
25 */
27 #include "AppXestiaAddrBk.h"
28 #include "frmMain.h"
29 #include "common/sslcertstructs.h"
30 #include "common/structs.h"
32 //// end generated include
34 struct SSLInvalidCertNotifObj{
35         SSLCertCollection CertCollection;
36         QRNotif *QRNotifData;
37         wxString AccountName;
38 };
40 struct SSLInvalidCertNotifObjString{
41         SSLCertCollectionString CertCollection;
42         QRNotif *QRNotifData;
43         wxString AccountName;
44 };
46 /** Implementing frmInvalidSSLCertificateADT */
47 class frmInvalidSSLCertificate : public frmInvalidSSLCertificateADT
48 {
49         protected:
50                 // Handlers for frmInvalidSSLCertificateADT events.
51                 void Accept( wxCommandEvent& event );
52                 void Reject( wxCommandEvent& event );
53                 void ViewCertificates( wxCommandEvent& event );
54         private:
55                 SSLCertCollection CertData;
56                 SSLCertCollectionString CertDataString;
57                 int intResult;
58                 wxString AccountName;
59         public:
60                 /** Constructor */
61                 frmInvalidSSLCertificate( wxWindow* parent );
62                 void LoadData(SSLCertCollection CertDataInc, wxString AccountNameInc);
63                 void LoadData(SSLCertCollectionString CertDataInc, wxString AccountNameInc);
64                 void LoadDataNew(SSLCertCollection CertDataInc, wxString DomainNameInc);
65                 void LoadDataNew(SSLCertCollectionString CertDataInc, std::string DomainNameInc);
66                 int GetResult();
67         //// end generated class members
68         
69 };
71 #endif // __frmInvalidSSLCertificate__
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