Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiacalendar
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CalDAV: WIP CalDAV support
[xestiacalendar/.git]
/
source
/
forms
/
newaccount
/
frmNewAccount.h
diff --git
a/source/forms/newaccount/frmNewAccount.h
b/source/forms/newaccount/frmNewAccount.h
index
6cd24e0
..
3f02e77
100644
(file)
--- a/
source/forms/newaccount/frmNewAccount.h
+++ b/
source/forms/newaccount/frmNewAccount.h
@@
-31,30
+31,51
@@
Subclass of frmNewAccountADT, which is generated by wxFormBuilder.
#include "../../AppXestiaCalendar.h"
#include "../../libraries/CalendarDataStorage/CalendarDataStorage.h"
#include "../../AppXestiaCalendar.h"
#include "../../libraries/CalendarDataStorage/CalendarDataStorage.h"
+#include "../objects/CalDAV/CalDAV.h"
+#include "svrblist.h"
#include "dirs.h"
#include "dirs.h"
+DECLARE_EVENT_TYPE(UPDATERESULTS, wxID_ANY);
+DECLARE_EVENT_TYPE(RUNCALDAVTEST, wxID_ANY);
+
+
//// end generated include
/** Implementing frmNewAccountADT */
class frmNewAccount : public frmNewAccountADT
{
private:
//// end generated include
/** Implementing frmNewAccountADT */
class frmNewAccount : public frmNewAccountADT
{
private:
- int pageSeek =
0
;
+ int pageSeek =
1
;
wxString serverPrefix;
bool *reloadAccountConfig = NULL;
wxString serverPrefix;
bool *reloadAccountConfig = NULL;
+ struct NewAccountResult{
+ bool Connected = false;
+ bool SSLStatus = false;
+ COSSLVerified SSLVerified = COSSL_NORESULT;
+ bool ValidResponse = false;
+ bool AuthPassed = false;
+ bool CanProcess = false;
+ std::string ErrorMessage = "";
+ };
protected:
// Handlers for frmNewAccountADT events.
protected:
// Handlers for frmNewAccountADT events.
- void UpdateRequirements( wxCommandEvent& event );
- void CheckAccountName( wxCommandEvent& event );
- void ProcessPrevious( wxCommandEvent& event );
- void ProcessNext( wxCommandEvent& event );
+ void UpdateRequirements( wxCommandEvent &event );
+ void UpdateResults( wxCommandEvent &event );
+ void RunCalDAVTest( wxCommandEvent &event );
+ void CheckAccountName( wxCommandEvent &event );
+ void Navigate( wxCommandEvent& event );
void CloseWindow( wxCommandEvent& event );
void WriteAccountDetails( wxFileConfig *cfgFileIn, wxString accountType, wxString directoryName );
void CloseWindow( wxCommandEvent& event );
void WriteAccountDetails( wxFileConfig *cfgFileIn, wxString accountType, wxString directoryName );
+#if defined(__APPLE__)
+ int DisplayTrustPanel(ConnectionObject *Connection);
+ SecTrustResultType ProcessResultType(ConnectionObject *Connection);
+#endif
public:
/** Constructor */
frmNewAccount( wxWindow* parent );
void SetupPointers(bool *reloadAccountInc, CalendarDataStorage *dataStorage);
public:
/** Constructor */
frmNewAccount( wxWindow* parent );
void SetupPointers(bool *reloadAccountInc, CalendarDataStorage *dataStorage);
+ DECLARE_EVENT_TABLE()
//// end generated class members
};
//// end generated class members
};
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy