Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added initial forms
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Wed, 16 Nov 2016 20:06:33 +0000 (20:06 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Wed, 16 Nov 2016 20:06:33 +0000 (20:06 +0000)
22 files changed:
source/AppXestiaCalendar.cpp [new file with mode: 0644]
source/AppXestiaCalendar.h [new file with mode: 0644]
source/forms/actmgr/frmActivityMgr.cpp [new file with mode: 0644]
source/forms/actmgr/frmActivityMgr.h [new file with mode: 0644]
source/forms/frmAbout.cpp [new file with mode: 0644]
source/forms/frmAbout.h [new file with mode: 0644]
source/forms/frmConflictResolution.cpp [new file with mode: 0644]
source/forms/frmConflictResolution.h [new file with mode: 0644]
source/forms/frmEditAccount.cpp [new file with mode: 0644]
source/forms/frmEditAccount.h [new file with mode: 0644]
source/forms/frmInvalidSSLCertificate.cpp [new file with mode: 0644]
source/forms/frmInvalidSSLCertificate.h [new file with mode: 0644]
source/forms/frmSSLCertificate.cpp [new file with mode: 0644]
source/forms/frmSSLCertificate.h [new file with mode: 0644]
source/forms/frmUpdate.cpp [new file with mode: 0644]
source/forms/frmUpdate.h [new file with mode: 0644]
source/forms/main/frmMain.cpp [new file with mode: 0644]
source/forms/main/frmMain.h [new file with mode: 0644]
source/forms/newaccount/frmNewAccount.cpp [new file with mode: 0644]
source/forms/newaccount/frmNewAccount.h [new file with mode: 0644]
source/forms/preferences/frmPreferences.cpp [new file with mode: 0644]
source/forms/preferences/frmPreferences.h [new file with mode: 0644]

diff --git a/source/AppXestiaCalendar.cpp b/source/AppXestiaCalendar.cpp
new file mode 100644 (file)
index 0000000..7d4e739
--- /dev/null
@@ -0,0 +1,1256 @@
+///////////////////////////////////////////////////////////////////////////
+// C++ code generated with wxFormBuilder (version Nov 13 2016)
+// http://www.wxformbuilder.org/
+//
+// PLEASE DO "NOT" EDIT THIS FILE!
+///////////////////////////////////////////////////////////////////////////
+
+#include "AppXestiaCalendar.h"
+
+///////////////////////////////////////////////////////////////////////////
+
+frmMainADT::frmMainADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
+{
+       this->SetSizeHints( wxDefaultSize, wxDefaultSize );
+       this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
+       
+       wxBoxSizer* bSizer44;
+       bSizer44 = new wxBoxSizer( wxVERTICAL );
+       
+       
+       this->SetSizer( bSizer44 );
+       this->Layout();
+       m_statusBar2 = this->CreateStatusBar( 1, wxST_SIZEGRIP, wxID_ANY );
+       menuBar = new wxMenuBar( 0 );
+       mnuManage = new wxMenu();
+       wxMenuItem* mnuManageNew;
+       mnuManageNew = new wxMenuItem( mnuManage, wxID_ANY, wxString( wxT("New Account...") ) + wxT('\t') + wxT("Ctrl+Shift+N"), wxEmptyString, wxITEM_NORMAL );
+       mnuManage->Append( mnuManageNew );
+       
+       mnuManage->AppendSeparator();
+       
+       wxMenuItem* mnuManagePreferences;
+       mnuManagePreferences = new wxMenuItem( mnuManage, wxID_PREFERENCES, wxString( wxT("Preferences...") ) , wxEmptyString, wxITEM_NORMAL );
+       mnuManage->Append( mnuManagePreferences );
+       
+       mnuManage->AppendSeparator();
+       
+       wxMenuItem* mnuManageExit;
+       mnuManageExit = new wxMenuItem( mnuManage, wxID_EXIT, wxString( wxT("Exit") ) + wxT('\t') + wxT("Ctrl+Q"), wxEmptyString, wxITEM_NORMAL );
+       mnuManage->Append( mnuManageExit );
+       
+       menuBar->Append( mnuManage, wxT("Manage") ); 
+       
+       mnuCreate = new wxMenu();
+       wxMenuItem* mnuCreateEvent;
+       mnuCreateEvent = new wxMenuItem( mnuCreate, wxID_ANY, wxString( wxT("Event...") ) , wxEmptyString, wxITEM_NORMAL );
+       mnuCreate->Append( mnuCreateEvent );
+       
+       menuBar->Append( mnuCreate, wxT("Create") ); 
+       
+       mnuHelp = new wxMenu();
+       wxMenuItem* mnuHelpShow;
+       mnuHelpShow = new wxMenuItem( mnuHelp, wxID_ANY, wxString( wxT("Shoe Help...") ) + wxT('\t') + wxT("F1"), wxEmptyString, wxITEM_NORMAL );
+       mnuHelp->Append( mnuHelpShow );
+       
+       mnuHelp->AppendSeparator();
+       
+       wxMenuItem* mnuHelpUpdate;
+       mnuHelpUpdate = new wxMenuItem( mnuHelp, wxID_ANY, wxString( wxT("Check for updates...") ) , wxEmptyString, wxITEM_NORMAL );
+       mnuHelp->Append( mnuHelpUpdate );
+       
+       mnuHelp->AppendSeparator();
+       
+       wxMenuItem* mnuHelpAbout;
+       mnuHelpAbout = new wxMenuItem( mnuHelp, wxID_ANY, wxString( wxT("About Xestia Calendar...") ) + wxT('\t') + wxT("Shift+Ctrl+A"), wxEmptyString, wxITEM_NORMAL );
+       mnuHelp->Append( mnuHelpAbout );
+       
+       menuBar->Append( mnuHelp, wxT("Help") ); 
+       
+       this->SetMenuBar( menuBar );
+       
+       
+       this->Centre( wxBOTH );
+}
+
+frmMainADT::~frmMainADT()
+{
+}
+
+frmUpdateADT::frmUpdateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
+{
+       this->SetSizeHints( wxDefaultSize, wxDefaultSize );
+       
+       wxBoxSizer* bSizer390;
+       bSizer390 = new wxBoxSizer( wxVERTICAL );
+       
+       pnlUpdateData = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
+       wxBoxSizer* bSizer391;
+       bSizer391 = new wxBoxSizer( wxVERTICAL );
+       
+       wxFlexGridSizer* fgSizer45;
+       fgSizer45 = new wxFlexGridSizer( 3, 2, 0, 0 );
+       fgSizer45->SetFlexibleDirection( wxBOTH );
+       fgSizer45->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
+       
+       lblRunningText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Running version is:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblRunningText->Wrap( -1 );
+       fgSizer45->Add( lblRunningText, 0, wxALL, 5 );
+       
+       lblRunningVer = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("UPDATEVER"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblRunningVer->Wrap( -1 );
+       lblRunningVer->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false, wxEmptyString ) );
+       
+       fgSizer45->Add( lblRunningVer, 0, wxALL, 5 );
+       
+       lblAvailableText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Available version is:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblAvailableText->Wrap( -1 );
+       fgSizer45->Add( lblAvailableText, 0, wxALL, 5 );
+       
+       lblAvailableVer = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("AVAILVER"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblAvailableVer->Wrap( -1 );
+       fgSizer45->Add( lblAvailableVer, 0, wxALL, 5 );
+       
+       lblBuildTypeText = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("Build type is:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblBuildTypeText->Wrap( -1 );
+       fgSizer45->Add( lblBuildTypeText, 0, wxALL, 5 );
+       
+       lblBuildType = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("BUILDTYPE"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblBuildType->Wrap( -1 );
+       fgSizer45->Add( lblBuildType, 0, wxALL, 5 );
+       
+       
+       bSizer391->Add( fgSizer45, 0, wxEXPAND, 5 );
+       
+       lblUpdateMessage = new wxStaticText( pnlUpdateData, wxID_ANY, wxT("MESSAGE"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblUpdateMessage->Wrap( -1 );
+       bSizer391->Add( lblUpdateMessage, 1, wxALL|wxEXPAND, 5 );
+       
+       
+       pnlUpdateData->SetSizer( bSizer391 );
+       pnlUpdateData->Layout();
+       bSizer391->Fit( pnlUpdateData );
+       bSizer390->Add( pnlUpdateData, 1, wxEXPAND | wxALL, 5 );
+       
+       statLine = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
+       bSizer390->Add( statLine, 0, wxALL|wxEXPAND, 5 );
+       
+       wxBoxSizer* bSizer392;
+       bSizer392 = new wxBoxSizer( wxHORIZONTAL );
+       
+       btnVisitGelforn = new wxButton( this, wxID_ANY, wxT("Visit Gelforn"), wxDefaultPosition, wxDefaultSize, 0 );
+       bSizer392->Add( btnVisitGelforn, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT, 5 );
+       
+       btnVisitPREMIUM = new wxButton( this, wxID_ANY, wxT("Visit PREMIUM"), wxDefaultPosition, wxDefaultSize, 0 );
+       bSizer392->Add( btnVisitPREMIUM, 0, wxBOTTOM|wxLEFT, 5 );
+       
+       btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
+       bSizer392->Add( btnClose, 0, wxALIGN_RIGHT|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
+       
+       
+       bSizer390->Add( bSizer392, 0, wxALIGN_RIGHT, 0 );
+       
+       
+       this->SetSizer( bSizer390 );
+       this->Layout();
+       
+       this->Centre( wxBOTH );
+       
+       // Connect Events
+       btnVisitGelforn->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitGelforn ), NULL, this );
+       btnVisitPREMIUM->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitPREMIUM ), NULL, this );
+       btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::CloseWindow ), NULL, this );
+}
+
+frmUpdateADT::~frmUpdateADT()
+{
+       // Disconnect Events
+       btnVisitGelforn->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitGelforn ), NULL, this );
+       btnVisitPREMIUM->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::VisitPREMIUM ), NULL, this );
+       btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmUpdateADT::CloseWindow ), NULL, this );
+       
+}
+
+frmPreferencesADT::frmPreferencesADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
+{
+       this->SetSizeHints( wxSize( 450,400 ), wxSize( 450,400 ) );
+       
+       wxBoxSizer* szrMain;
+       szrMain = new wxBoxSizer( wxVERTICAL );
+       
+       wxBoxSizer* szrTabs;
+       szrTabs = new wxBoxSizer( wxVERTICAL );
+       
+       NbtPreferences = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
+       tabGeneral = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
+       wxBoxSizer* szrChecks;
+       szrChecks = new wxBoxSizer( wxVERTICAL );
+       
+       chkSaveWindowPosition = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Save window position on exit"), wxDefaultPosition, wxDefaultSize, 0 );
+       szrChecks->Add( chkSaveWindowPosition, 0, wxALL, 5 );
+       
+       chkHideLocal = new wxCheckBox( tabGeneral, wxID_ANY, wxT("Hide local calendars"), wxDefaultPosition, wxDefaultSize, 0 );
+       szrChecks->Add( chkHideLocal, 0, wxALL, 5 );
+       
+       
+       tabGeneral->SetSizer( szrChecks );
+       tabGeneral->Layout();
+       szrChecks->Fit( tabGeneral );
+       NbtPreferences->AddPage( tabGeneral, wxT("General"), true );
+       tabTheme = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
+       tabTheme->Hide();
+       
+       wxGridSizer* szrTheme;
+       szrTheme = new wxGridSizer( 1, 1, 0, 0 );
+       
+       wxBoxSizer* bSizer161;
+       bSizer161 = new wxBoxSizer( wxVERTICAL );
+       
+       lstThemes = new wxListCtrl( tabTheme, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
+       bSizer161->Add( lstThemes, 1, wxALL|wxEXPAND, 5 );
+       
+       wxBoxSizer* bSizer151;
+       bSizer151 = new wxBoxSizer( wxHORIZONTAL );
+       
+       btnThemeAdd = new wxButton( tabTheme, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
+       bSizer151->Add( btnThemeAdd, 0, wxALL, 5 );
+       
+       btnThemeModify = new wxButton( tabTheme, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
+       btnThemeModify->Enable( false );
+       
+       bSizer151->Add( btnThemeModify, 0, wxALL, 5 );
+       
+       btnThemeDelete = new wxButton( tabTheme, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
+       btnThemeDelete->Enable( false );
+       
+       bSizer151->Add( btnThemeDelete, 0, wxALL, 5 );
+       
+       
+       bSizer161->Add( bSizer151, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0 );
+       
+       
+       szrTheme->Add( bSizer161, 1, wxEXPAND, 5 );
+       
+       
+       tabTheme->SetSizer( szrTheme );
+       tabTheme->Layout();
+       szrTheme->Fit( tabTheme );
+       NbtPreferences->AddPage( tabTheme, wxT("Themes"), false );
+       tabAccounts = new wxPanel( NbtPreferences, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
+       wxGridSizer* szrAccounts;
+       szrAccounts = new wxGridSizer( 1, 1, 0, 0 );
+       
+       wxBoxSizer* bSizer16;
+       bSizer16 = new wxBoxSizer( wxVERTICAL );
+       
+       lstAccounts = new wxListCtrl( tabAccounts, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
+       bSizer16->Add( lstAccounts, 1, wxALL|wxEXPAND, 5 );
+       
+       wxBoxSizer* bSizer15;
+       bSizer15 = new wxBoxSizer( wxHORIZONTAL );
+       
+       btnAccountAdd = new wxButton( tabAccounts, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 );
+       bSizer15->Add( btnAccountAdd, 0, wxALL, 5 );
+       
+       btnAccountModify = new wxButton( tabAccounts, wxID_ANY, wxT("Modify"), wxDefaultPosition, wxDefaultSize, 0 );
+       btnAccountModify->Enable( false );
+       
+       bSizer15->Add( btnAccountModify, 0, wxALL, 5 );
+       
+       btnAccountDelete = new wxButton( tabAccounts, wxID_ANY, wxT("Delete"), wxDefaultPosition, wxDefaultSize, 0 );
+       btnAccountDelete->Enable( false );
+       
+       bSizer15->Add( btnAccountDelete, 0, wxALL, 5 );
+       
+       
+       bSizer16->Add( bSizer15, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 0 );
+       
+       
+       szrAccounts->Add( bSizer16, 1, wxEXPAND, 5 );
+       
+       
+       tabAccounts->SetSizer( szrAccounts );
+       tabAccounts->Layout();
+       szrAccounts->Fit( tabAccounts );
+       NbtPreferences->AddPage( tabAccounts, wxT("Accounts"), false );
+       
+       szrTabs->Add( NbtPreferences, 1, wxALL|wxEXPAND, 5 );
+       
+       
+       szrMain->Add( szrTabs, 1, wxEXPAND, 0 );
+       
+       wxBoxSizer* szrButtons;
+       szrButtons = new wxBoxSizer( wxHORIZONTAL );
+       
+       
+       szrButtons->Add( 1, 0, 1, wxEXPAND, 0 );
+       
+       btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
+       btnSave->SetDefault(); 
+       szrButtons->Add( btnSave, 0, wxALIGN_RIGHT, 0 );
+       
+       
+       szrButtons->Add( 5, 0, 0, 0, 0 );
+       
+       btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
+       szrButtons->Add( btnCancel, 0, wxALIGN_RIGHT, 0 );
+       
+       
+       szrButtons->Add( 5, 0, 0, wxEXPAND, 0 );
+       
+       
+       szrMain->Add( szrButtons, 0, wxBOTTOM|wxEXPAND, 5 );
+       
+       
+       this->SetSizer( szrMain );
+       this->Layout();
+       
+       this->Centre( wxBOTH );
+       
+       // Connect Events
+       this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmPreferencesADT::LoadPreferences ) );
+       lstThemes->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
+       lstThemes->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
+       btnThemeAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
+       btnThemeModify->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
+       btnThemeDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
+       lstAccounts->Connect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
+       lstAccounts->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
+       btnAccountAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
+       btnAccountModify->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
+       btnAccountDelete->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
+       btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::SavePreferences ), NULL, this );
+       btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::CloseWindow ), NULL, this );
+}
+
+frmPreferencesADT::~frmPreferencesADT()
+{
+       // Disconnect Events
+       this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( frmPreferencesADT::LoadPreferences ) );
+       lstThemes->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
+       lstThemes->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
+       btnThemeAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
+       btnThemeModify->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
+       btnThemeDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
+       lstAccounts->Disconnect( wxEVT_COMMAND_LIST_ITEM_DESELECTED, wxListEventHandler( frmPreferencesADT::DisableABButtons ), NULL, this );
+       lstAccounts->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmPreferencesADT::EnableABButtons ), NULL, this );
+       btnAccountAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::AddABAccount ), NULL, this );
+       btnAccountModify->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::ModifyABAccount ), NULL, this );
+       btnAccountDelete->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::DeleteABAccount ), NULL, this );
+       btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::SavePreferences ), NULL, this );
+       btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmPreferencesADT::CloseWindow ), NULL, this );
+       
+}
+
+frmAboutADT::frmAboutADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
+{
+       this->SetSizeHints( wxSize( 350,400 ), wxDefaultSize );
+       
+       wxBoxSizer* szrMain;
+       szrMain = new wxBoxSizer( wxVERTICAL );
+       
+       wxBoxSizer* szrLogo;
+       szrLogo = new wxBoxSizer( wxVERTICAL );
+       
+       szrLogo->SetMinSize( wxSize( 350,100 ) ); 
+       bmpLogo = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxPoint( 0,0 ), wxSize( 350,100 ), 0 );
+       szrLogo->Add( bmpLogo, 0, wxALL, 0 );
+       
+       
+       szrMain->Add( szrLogo, 0, wxFIXED_MINSIZE, 0 );
+       
+       wxBoxSizer* szrDetails;
+       szrDetails = new wxBoxSizer( wxVERTICAL );
+       
+       lblVersion = new wxStaticText( this, wxID_ANY, wxT("Version 0.00"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblVersion->Wrap( -1 );
+       lblVersion->SetFont( wxFont( 14, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
+       
+       szrDetails->Add( lblVersion, 0, wxALL, 5 );
+       
+       lblCompileTime = new wxStaticText( this, wxID_ANY, wxT("Built on (date) at (time)"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblCompileTime->Wrap( -1 );
+       szrDetails->Add( lblCompileTime, 0, wxALL, 5 );
+       
+       lblCopyright = new wxStaticText( this, wxID_ANY, wxT("(c) 2012-2015 Xestia Software Development"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblCopyright->Wrap( -1 );
+       szrDetails->Add( lblCopyright, 0, wxALL, 5 );
+       
+       
+       szrMain->Add( szrDetails, 5, wxEXPAND, 1 );
+       
+       wxBoxSizer* szrButtons;
+       szrButtons = new wxBoxSizer( wxVERTICAL );
+       
+       szrButtons->SetMinSize( wxSize( -1,35 ) ); 
+       btnClose = new wxButton( this, wxID_ANY, wxT("&Close"), wxDefaultPosition, wxDefaultSize, 0 );
+       szrButtons->Add( btnClose, 0, wxALIGN_RIGHT|wxRIGHT, 5 );
+       
+       
+       szrMain->Add( szrButtons, 0, wxEXPAND, 0 );
+       
+       
+       this->SetSizer( szrMain );
+       this->Layout();
+       
+       this->Centre( wxBOTH );
+       
+       // Connect Events
+       btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmAboutADT::CloseAboutWindow ), NULL, this );
+}
+
+frmAboutADT::~frmAboutADT()
+{
+       // Disconnect Events
+       btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmAboutADT::CloseAboutWindow ), NULL, this );
+       
+}
+
+frmNewAccountADT::frmNewAccountADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
+{
+       this->SetSizeHints( wxSize( 425,330 ), wxSize( 425,330 ) );
+       
+       wxFlexGridSizer* fgSizer30;
+       fgSizer30 = new wxFlexGridSizer( 0, 1, 0, 0 );
+       fgSizer30->AddGrowableCol( 0 );
+       fgSizer30->AddGrowableRow( 0 );
+       fgSizer30->SetFlexibleDirection( wxBOTH );
+       fgSizer30->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
+       
+       szrNewAccount = new wxBoxSizer( wxVERTICAL );
+       
+       tabType = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
+       wxFlexGridSizer* fgSizer32;
+       fgSizer32 = new wxFlexGridSizer( 0, 1, 0, 0 );
+       fgSizer32->AddGrowableCol( 0 );
+       fgSizer32->SetFlexibleDirection( wxBOTH );
+       fgSizer32->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
+       
+       lblEnterText = new wxStaticText( tabType, wxID_ANY, wxT("Enter the details below and click on Next."), wxDefaultPosition, wxDefaultSize, 0 );
+       lblEnterText->Wrap( -1 );
+       fgSizer32->Add( lblEnterText, 0, wxALL, 5 );
+       
+       wxFlexGridSizer* fgSizer33;
+       fgSizer33 = new wxFlexGridSizer( 0, 2, 0, 0 );
+       fgSizer33->AddGrowableCol( 1 );
+       fgSizer33->AddGrowableRow( 0 );
+       fgSizer33->SetFlexibleDirection( wxBOTH );
+       fgSizer33->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
+       
+       lblType = new wxStaticText( tabType, wxID_ANY, wxT("Server Type:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblType->Wrap( -1 );
+       fgSizer33->Add( lblType, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+       
+       wxString cmbServerTypeChoices[] = { wxT("Local"), wxT("CardDAV") };
+       int cmbServerTypeNChoices = sizeof( cmbServerTypeChoices ) / sizeof( wxString );
+       cmbServerType = new wxChoice( tabType, wxID_ANY, wxDefaultPosition, wxDefaultSize, cmbServerTypeNChoices, cmbServerTypeChoices, 0 );
+       cmbServerType->SetSelection( 1 );
+       fgSizer33->Add( cmbServerType, 0, wxALL, 5 );
+       
+       lblServerAddress = new wxStaticText( tabType, wxID_ANY, wxT("Server Address:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblServerAddress->Wrap( -1 );
+       fgSizer33->Add( lblServerAddress, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+       
+       txtServerAddress = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
+       fgSizer33->Add( txtServerAddress, 1, wxALL|wxEXPAND, 5 );
+       
+       lblServerPort = new wxStaticText( tabType, wxID_ANY, wxT("Server Port:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblServerPort->Wrap( -1 );
+       fgSizer33->Add( lblServerPort, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+       
+       txtServerPort = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
+       fgSizer33->Add( txtServerPort, 0, wxALL, 5 );
+       
+       lblUsername = new wxStaticText( tabType, wxID_ANY, wxT("Username:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblUsername->Wrap( -1 );
+       fgSizer33->Add( lblUsername, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+       
+       txtUsername = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
+       fgSizer33->Add( txtUsername, 1, wxALL|wxEXPAND, 5 );
+       
+       lblPassword = new wxStaticText( tabType, wxID_ANY, wxT("Password:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblPassword->Wrap( -1 );
+       fgSizer33->Add( lblPassword, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+       
+       txtPassword = new wxTextCtrl( tabType, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD );
+       fgSizer33->Add( txtPassword, 0, wxALL|wxEXPAND, 5 );
+       
+       lblSSL = new wxStaticText( tabType, wxID_ANY, wxT("SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblSSL->Wrap( -1 );
+       fgSizer33->Add( lblSSL, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+       
+       wxBoxSizer* bSizer3221;
+       bSizer3221 = new wxBoxSizer( wxHORIZONTAL );
+       
+       chkUseSSL = new wxCheckBox( tabType, wxID_ANY, wxT("Use SSL"), wxDefaultPosition, wxDefaultSize, 0 );
+       chkUseSSL->SetValue(true); 
+       bSizer3221->Add( chkUseSSL, 0, wxALL, 5 );
+       
+       
+       fgSizer33->Add( bSizer3221, 1, wxEXPAND, 5 );
+       
+       
+       fgSizer32->Add( fgSizer33, 1, wxEXPAND, 5 );
+       
+       
+       tabType->SetSizer( fgSizer32 );
+       tabType->Layout();
+       fgSizer32->Fit( tabType );
+       szrNewAccount->Add( tabType, 1, wxEXPAND | wxALL, 5 );
+       
+       tabConn = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
+       tabConn->Hide();
+       
+       wxBoxSizer* bSizer323;
+       bSizer323 = new wxBoxSizer( wxVERTICAL );
+       
+       lblConnectionResult = new wxStaticText( tabConn, wxID_ANY, wxT("Connection Results:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblConnectionResult->Wrap( -1 );
+       lblConnectionResult->SetFont( wxFont( 9, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxT("Sans") ) );
+       
+       bSizer323->Add( lblConnectionResult, 0, wxALL, 5 );
+       
+       wxFlexGridSizer* fgSizer34;
+       fgSizer34 = new wxFlexGridSizer( 0, 2, 0, 0 );
+       fgSizer34->SetFlexibleDirection( wxBOTH );
+       fgSizer34->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
+       
+       lblServerConnected = new wxStaticText( tabConn, wxID_ANY, wxT("Server connected:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblServerConnected->Wrap( -1 );
+       fgSizer34->Add( lblServerConnected, 0, wxALL, 5 );
+       
+       lblServerConnResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
+       lblServerConnResult->Wrap( -1 );
+       fgSizer34->Add( lblServerConnResult, 0, wxALL, 5 );
+       
+       lblValidResponse = new wxStaticText( tabConn, wxID_ANY, wxT("Server gave valid response:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblValidResponse->Wrap( -1 );
+       fgSizer34->Add( lblValidResponse, 0, wxALL, 5 );
+       
+       lblServerResponse = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
+       lblServerResponse->Wrap( -1 );
+       fgSizer34->Add( lblServerResponse, 0, wxALL, 5 );
+       
+       lblUseSSL = new wxStaticText( tabConn, wxID_ANY, wxT("Server uses SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblUseSSL->Wrap( -1 );
+       fgSizer34->Add( lblUseSSL, 0, wxALL, 5 );
+       
+       lblServerSSLResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
+       lblServerSSLResult->Wrap( -1 );
+       fgSizer34->Add( lblServerSSLResult, 0, wxALL, 5 );
+       
+       lblServerSSLCert = new wxStaticText( tabConn, wxID_ANY, wxT("Server has valid SSL certificate:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblServerSSLCert->Wrap( -1 );
+       fgSizer34->Add( lblServerSSLCert, 0, wxALL, 5 );
+       
+       lblServerSSLValid = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
+       lblServerSSLValid->Wrap( -1 );
+       fgSizer34->Add( lblServerSSLValid, 0, wxALL, 5 );
+       
+       lblServerUsernamePassword = new wxStaticText( tabConn, wxID_ANY, wxT("Able to Login:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblServerUsernamePassword->Wrap( -1 );
+       fgSizer34->Add( lblServerUsernamePassword, 0, wxALL, 5 );
+       
+       lblAbleToLoginResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
+       lblAbleToLoginResult->Wrap( -1 );
+       fgSizer34->Add( lblAbleToLoginResult, 0, wxALL, 5 );
+       
+       lblIsCalDAV = new wxStaticText( tabConn, wxID_ANY, wxT("Server has CardDAV Support:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblIsCalDAV->Wrap( -1 );
+       fgSizer34->Add( lblIsCalDAV, 0, wxALL, 5 );
+       
+       lblCardDAVSupportResult = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
+       lblCardDAVSupportResult->Wrap( -1 );
+       fgSizer34->Add( lblCardDAVSupportResult, 0, wxALL, 5 );
+       
+       
+       bSizer323->Add( fgSizer34, 1, wxEXPAND, 5 );
+       
+       m_staticline3 = new wxStaticLine( tabConn, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
+       bSizer323->Add( m_staticline3, 0, wxEXPAND | wxALL, 5 );
+       
+       lblConnectionResultText = new wxStaticText( tabConn, wxID_ANY, wxT("..."), wxDefaultPosition, wxDefaultSize, 0 );
+       lblConnectionResultText->Wrap( 360 );
+       lblConnectionResultText->SetMinSize( wxSize( -1,40 ) );
+       
+       bSizer323->Add( lblConnectionResultText, 0, wxALL|wxEXPAND, 5 );
+       
+       
+       tabConn->SetSizer( bSizer323 );
+       tabConn->Layout();
+       bSizer323->Fit( tabConn );
+       szrNewAccount->Add( tabConn, 1, wxEXPAND | wxALL, 5 );
+       
+       tabFinish = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
+       tabFinish->Hide();
+       
+       wxBoxSizer* bSizer3231;
+       bSizer3231 = new wxBoxSizer( wxVERTICAL );
+       
+       lblFinishText = new wxStaticText( tabFinish, wxID_ANY, wxT("Enter the account name and click on Finish."), wxDefaultPosition, wxDefaultSize, 0 );
+       lblFinishText->Wrap( -1 );
+       bSizer3231->Add( lblFinishText, 0, wxALL, 5 );
+       
+       wxFlexGridSizer* fgSizer341;
+       fgSizer341 = new wxFlexGridSizer( 0, 2, 0, 0 );
+       fgSizer341->AddGrowableCol( 1 );
+       fgSizer341->SetFlexibleDirection( wxBOTH );
+       fgSizer341->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
+       
+       lblAccountName = new wxStaticText( tabFinish, wxID_ANY, wxT("Account Name:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblAccountName->Wrap( -1 );
+       fgSizer341->Add( lblAccountName, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+       
+       txtAccountName = new wxTextCtrl( tabFinish, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
+       fgSizer341->Add( txtAccountName, 1, wxALL|wxEXPAND, 5 );
+       
+       
+       bSizer3231->Add( fgSizer341, 1, wxEXPAND, 5 );
+       
+       
+       tabFinish->SetSizer( bSizer3231 );
+       tabFinish->Layout();
+       bSizer3231->Fit( tabFinish );
+       szrNewAccount->Add( tabFinish, 1, wxEXPAND | wxALL, 5 );
+       
+       
+       fgSizer30->Add( szrNewAccount, 1, wxEXPAND, 5 );
+       
+       wxBoxSizer* bSizer322;
+       bSizer322 = new wxBoxSizer( wxHORIZONTAL );
+       
+       btnPrevious = new wxButton( this, wxID_ANY, wxT("< Previous"), wxDefaultPosition, wxDefaultSize, 0 );
+       bSizer322->Add( btnPrevious, 0, wxALL, 5 );
+       
+       btnNext = new wxButton( this, wxID_ANY, wxT("Next >"), wxDefaultPosition, wxDefaultSize, 0 );
+       btnNext->SetDefault(); 
+       bSizer322->Add( btnNext, 0, wxALL, 5 );
+       
+       btnClose = new wxButton( this, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
+       bSizer322->Add( btnClose, 0, wxALL, 5 );
+       
+       
+       fgSizer30->Add( bSizer322, 0, wxALIGN_RIGHT, 5 );
+       
+       
+       this->SetSizer( fgSizer30 );
+       this->Layout();
+       
+       this->Centre( wxBOTH );
+       
+       // Connect Events
+       cmbServerType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmNewAccountADT::UpdateRequirements ), NULL, this );
+       txtAccountName->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmNewAccountADT::CheckAccountName ), NULL, this );
+       btnPrevious->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessPrevious ), NULL, this );
+       btnNext->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessNext ), NULL, this );
+       btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::CloseWindow ), NULL, this );
+}
+
+frmNewAccountADT::~frmNewAccountADT()
+{
+       // Disconnect Events
+       cmbServerType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( frmNewAccountADT::UpdateRequirements ), NULL, this );
+       txtAccountName->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( frmNewAccountADT::CheckAccountName ), NULL, this );
+       btnPrevious->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessPrevious ), NULL, this );
+       btnNext->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::ProcessNext ), NULL, this );
+       btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmNewAccountADT::CloseWindow ), NULL, this );
+       
+}
+
+frmConflictResolutionADT::frmConflictResolutionADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
+{
+       this->SetSizeHints( wxDefaultSize, wxDefaultSize );
+       
+       wxFlexGridSizer* fgSizer39;
+       fgSizer39 = new wxFlexGridSizer( 0, 1, 0, 0 );
+       fgSizer39->AddGrowableCol( 0 );
+       fgSizer39->AddGrowableRow( 0 );
+       fgSizer39->SetFlexibleDirection( wxBOTH );
+       fgSizer39->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
+       
+       wxBoxSizer* bSizer363;
+       bSizer363 = new wxBoxSizer( wxHORIZONTAL );
+       
+       wxBoxSizer* bSizer364;
+       bSizer364 = new wxBoxSizer( wxVERTICAL );
+       
+       lblText = new wxStaticText( this, wxID_ANY, wxT("An update for this contact has also taken place on the server.\nChoose which version to keep and either press Keep Local or Keep Server.\nTo decide later, click on Decide Later."), wxDefaultPosition, wxDefaultSize, 0 );
+       lblText->Wrap( -1 );
+       bSizer364->Add( lblText, 0, wxALL|wxEXPAND, 5 );
+       
+       m_splitter3 = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3D );
+       m_splitter3->Connect( wxEVT_IDLE, wxIdleEventHandler( frmConflictResolutionADT::m_splitter3OnIdle ), NULL, this );
+       
+       m_panel44 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
+       wxBoxSizer* bSizer365;
+       bSizer365 = new wxBoxSizer( wxVERTICAL );
+       
+       htmClient = new wxHtmlWindow( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
+       bSizer365->Add( htmClient, 1, wxALL|wxEXPAND, 5 );
+       
+       
+       m_panel44->SetSizer( bSizer365 );
+       m_panel44->Layout();
+       bSizer365->Fit( m_panel44 );
+       m_panel45 = new wxPanel( m_splitter3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
+       wxBoxSizer* bSizer366;
+       bSizer366 = new wxBoxSizer( wxVERTICAL );
+       
+       htmServer = new wxHtmlWindow( m_panel45, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
+       bSizer366->Add( htmServer, 1, wxALL|wxEXPAND, 5 );
+       
+       
+       m_panel45->SetSizer( bSizer366 );
+       m_panel45->Layout();
+       bSizer366->Fit( m_panel45 );
+       m_splitter3->SplitVertically( m_panel44, m_panel45, 257 );
+       bSizer364->Add( m_splitter3, 1, wxEXPAND, 5 );
+       
+       wxBoxSizer* bSizer367;
+       bSizer367 = new wxBoxSizer( wxHORIZONTAL );
+       
+       
+       bSizer367->Add( 0, 0, 1, wxEXPAND, 5 );
+       
+       btnKeepLocal = new wxButton( this, wxID_ANY, wxT("Keep Local"), wxDefaultPosition, wxDefaultSize, 0 );
+       bSizer367->Add( btnKeepLocal, 0, wxALL, 5 );
+       
+       btnKeepServer = new wxButton( this, wxID_ANY, wxT("Keep Server"), wxDefaultPosition, wxDefaultSize, 0 );
+       bSizer367->Add( btnKeepServer, 0, wxALL, 5 );
+       
+       btnDecideLater = new wxButton( this, wxID_ANY, wxT("Decide Later"), wxDefaultPosition, wxDefaultSize, 0 );
+       bSizer367->Add( btnDecideLater, 0, wxALL, 5 );
+       
+       
+       bSizer367->Add( 0, 0, 1, wxEXPAND, 5 );
+       
+       
+       bSizer364->Add( bSizer367, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxEXPAND, 5 );
+       
+       
+       bSizer363->Add( bSizer364, 1, wxEXPAND, 5 );
+       
+       
+       fgSizer39->Add( bSizer363, 1, wxEXPAND, 5 );
+       
+       
+       this->SetSizer( fgSizer39 );
+       this->Layout();
+       
+       this->Centre( wxBOTH );
+       
+       // Connect Events
+       btnKeepLocal->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this );
+       btnKeepServer->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this );
+       btnDecideLater->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this );
+}
+
+frmConflictResolutionADT::~frmConflictResolutionADT()
+{
+       // Disconnect Events
+       btnKeepLocal->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepLocalData ), NULL, this );
+       btnKeepServer->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::KeepServerData ), NULL, this );
+       btnDecideLater->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmConflictResolutionADT::DecideLater ), NULL, this );
+       
+}
+
+frmActivityMgrADT::frmActivityMgrADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
+{
+       this->SetSizeHints( wxSize( 400,425 ), wxDefaultSize );
+       
+       mnuMenuBar = new wxMenuBar( 0 );
+       mnuWindow = new wxMenu();
+       wxMenuItem* mnuStopActivity;
+       mnuStopActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Stop Activity") ) + wxT('\t') + wxT("CTRL+ALT+S"), wxEmptyString, wxITEM_NORMAL );
+       mnuWindow->Append( mnuStopActivity );
+       
+       wxMenuItem* mnuActivityStopAll;
+       mnuActivityStopAll = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Stop All Activities") ) + wxT('\t') + wxT("CTRL+SHIFT+ALT+S"), wxEmptyString, wxITEM_NORMAL );
+       mnuWindow->Append( mnuActivityStopAll );
+       
+       wxMenuItem* mnuRetryActivity;
+       mnuRetryActivity = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Retry Activity") ) + wxT('\t') + wxT("CTRL+R"), wxEmptyString, wxITEM_NORMAL );
+       mnuWindow->Append( mnuRetryActivity );
+       
+       mnuWindow->AppendSeparator();
+       
+       mnuSleepMode = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("Sleep Mode") ) , wxEmptyString, wxITEM_CHECK );
+       mnuWindow->Append( mnuSleepMode );
+       
+       mnuWindow->AppendSeparator();
+       
+       wxMenuItem* mnuWindowClose;
+       mnuWindowClose = new wxMenuItem( mnuWindow, wxID_ANY, wxString( wxT("&Close Window") ) + wxT('\t') + wxT("ALT+F4"), wxEmptyString, wxITEM_NORMAL );
+       mnuWindow->Append( mnuWindowClose );
+       
+       mnuMenuBar->Append( mnuWindow, wxT("&Activity") ); 
+       
+       this->SetMenuBar( mnuMenuBar );
+       
+       wxFlexGridSizer* fgSizer38;
+       fgSizer38 = new wxFlexGridSizer( 0, 1, 0, 0 );
+       fgSizer38->AddGrowableCol( 0 );
+       fgSizer38->AddGrowableRow( 1 );
+       fgSizer38->SetFlexibleDirection( wxBOTH );
+       fgSizer38->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
+       
+       m_panel43 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
+       wxBoxSizer* bSizer363;
+       bSizer363 = new wxBoxSizer( wxHORIZONTAL );
+       
+       bmpActivity = new wxStaticBitmap( m_panel43, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
+       bmpActivity->SetMinSize( wxSize( 64,64 ) );
+       
+       bSizer363->Add( bmpActivity, 0, wxALL, 5 );
+       
+       m_panel46 = new wxPanel( m_panel43, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
+       wxBoxSizer* bSizer364;
+       bSizer364 = new wxBoxSizer( wxVERTICAL );
+       
+       
+       bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
+       
+       lblDetails = new wxStaticText( m_panel46, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE );
+       lblDetails->Wrap( -1 );
+       bSizer364->Add( lblDetails, 0, wxALL|wxEXPAND, 0 );
+       
+       
+       bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
+       
+       GauProgress = new wxGauge( m_panel46, wxID_ANY, 100, wxDefaultPosition, wxDefaultSize, wxGA_HORIZONTAL );
+       GauProgress->SetValue( 0 ); 
+       GauProgress->SetMinSize( wxSize( -1,20 ) );
+       
+       bSizer364->Add( GauProgress, 0, wxALL|wxEXPAND, 0 );
+       
+       
+       bSizer364->Add( 0, 0, 1, wxEXPAND, 5 );
+       
+       
+       m_panel46->SetSizer( bSizer364 );
+       m_panel46->Layout();
+       bSizer364->Fit( m_panel46 );
+       bSizer363->Add( m_panel46, 1, wxEXPAND | wxALL, 5 );
+       
+       
+       m_panel43->SetSizer( bSizer363 );
+       m_panel43->Layout();
+       bSizer363->Fit( m_panel43 );
+       fgSizer38->Add( m_panel43, 1, wxALL|wxEXPAND, 0 );
+       
+       m_panel44 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
+       wxBoxSizer* bSizer365;
+       bSizer365 = new wxBoxSizer( wxVERTICAL );
+       
+       lstActivity = new wxListCtrl( m_panel44, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL|wxSUNKEN_BORDER );
+       bSizer365->Add( lstActivity, 1, wxALL|wxEXPAND, 5 );
+       
+       
+       m_panel44->SetSizer( bSizer365 );
+       m_panel44->Layout();
+       bSizer365->Fit( m_panel44 );
+       fgSizer38->Add( m_panel44, 5, wxALL|wxEXPAND, 0 );
+       
+       
+       this->SetSizer( fgSizer38 );
+       this->Layout();
+       
+       this->Centre( wxBOTH );
+       
+       // Connect Events
+       this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) );
+       this->Connect( mnuStopActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) );
+       this->Connect( mnuActivityStopAll->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) );
+       this->Connect( mnuRetryActivity->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) );
+       this->Connect( mnuSleepMode->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) );
+       this->Connect( mnuWindowClose->GetId(), wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) );
+}
+
+frmActivityMgrADT::~frmActivityMgrADT()
+{
+       // Disconnect Events
+       this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( frmActivityMgrADT::CloseWindow ) );
+       this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopTask ) );
+       this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::StopAllTasks ) );
+       this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::RetryTask ) );
+       this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::SleepMode ) );
+       this->Disconnect( wxID_ANY, wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( frmActivityMgrADT::CloseWindow ) );
+       
+}
+
+frmEditAccountADT::frmEditAccountADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
+{
+       this->SetSizeHints( wxDefaultSize, wxDefaultSize );
+       
+       wxBoxSizer* bSizer384;
+       bSizer384 = new wxBoxSizer( wxVERTICAL );
+       
+       wxBoxSizer* szrTabs;
+       szrTabs = new wxBoxSizer( wxVERTICAL );
+       
+       tabAccount = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
+       tabProperties = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
+       wxFlexGridSizer* fgSizer43;
+       fgSizer43 = new wxFlexGridSizer( 0, 2, 0, 0 );
+       fgSizer43->AddGrowableCol( 1 );
+       fgSizer43->SetFlexibleDirection( wxBOTH );
+       fgSizer43->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE );
+       
+       lblAccName = new wxStaticText( tabProperties, wxID_ANY, wxT("Account Name:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblAccName->Wrap( -1 );
+       fgSizer43->Add( lblAccName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+       
+       txtAccountName = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
+       fgSizer43->Add( txtAccountName, 1, wxALL|wxEXPAND, 5 );
+       
+       lblAccAdr = new wxStaticText( tabProperties, wxID_ANY, wxT("Address:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblAccAdr->Wrap( -1 );
+       fgSizer43->Add( lblAccAdr, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+       
+       txtAddress = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
+       fgSizer43->Add( txtAddress, 0, wxALL|wxEXPAND, 5 );
+       
+       m_staticText193 = new wxStaticText( tabProperties, wxID_ANY, wxT("Port:"), wxDefaultPosition, wxDefaultSize, 0 );
+       m_staticText193->Wrap( -1 );
+       fgSizer43->Add( m_staticText193, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+       
+       txtPort = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
+       #ifdef __WXGTK__
+       if ( !txtPort->HasFlag( wxTE_MULTILINE ) )
+       {
+       txtPort->SetMaxLength( 5 );
+       }
+       #else
+       txtPort->SetMaxLength( 5 );
+       #endif
+       fgSizer43->Add( txtPort, 0, wxALL, 5 );
+       
+       lblPort = new wxStaticText( tabProperties, wxID_ANY, wxT("Username:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblPort->Wrap( -1 );
+       fgSizer43->Add( lblPort, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+       
+       txtUsername = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
+       fgSizer43->Add( txtUsername, 0, wxALL|wxEXPAND, 5 );
+       
+       lblPassword = new wxStaticText( tabProperties, wxID_ANY, wxT("Password:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblPassword->Wrap( -1 );
+       fgSizer43->Add( lblPassword, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+       
+       txtPassword = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PASSWORD );
+       fgSizer43->Add( txtPassword, 0, wxALL|wxEXPAND, 5 );
+       
+       lblPrefix = new wxStaticText( tabProperties, wxID_ANY, wxT("Prefix:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblPrefix->Wrap( -1 );
+       fgSizer43->Add( lblPrefix, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+       
+       wxBoxSizer* bSizer391;
+       bSizer391 = new wxBoxSizer( wxHORIZONTAL );
+       
+       txtPrefix = new wxTextCtrl( tabProperties, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
+       bSizer391->Add( txtPrefix, 1, wxALL|wxEXPAND, 5 );
+       
+       btnDetect = new wxButton( tabProperties, wxID_ANY, wxT("Detect"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT );
+       bSizer391->Add( btnDetect, 0, wxALIGN_CENTER_VERTICAL, 0 );
+       
+       
+       fgSizer43->Add( bSizer391, 1, wxEXPAND|wxRIGHT, 5 );
+       
+       txtSSL = new wxStaticText( tabProperties, wxID_ANY, wxT("SSL:"), wxDefaultPosition, wxDefaultSize, 0 );
+       txtSSL->Wrap( -1 );
+       fgSizer43->Add( txtSSL, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+       
+       chkSSL = new wxCheckBox( tabProperties, wxID_ANY, wxT("Use SSL"), wxDefaultPosition, wxDefaultSize, 0 );
+       fgSizer43->Add( chkSSL, 0, wxALL, 5 );
+       
+       
+       tabProperties->SetSizer( fgSizer43 );
+       tabProperties->Layout();
+       fgSizer43->Fit( tabProperties );
+       tabAccount->AddPage( tabProperties, wxT("General"), true );
+       tabRefresh = new wxPanel( tabAccount, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
+       wxFlexGridSizer* fgSizer431;
+       fgSizer431 = new wxFlexGridSizer( 0, 2, 0, 0 );
+       fgSizer431->AddGrowableCol( 1 );
+       fgSizer431->SetFlexibleDirection( wxBOTH );
+       fgSizer431->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE );
+       
+       lblRefresh = new wxStaticText( tabRefresh, wxID_ANY, wxT("Refresh Time:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblRefresh->Wrap( -1 );
+       fgSizer431->Add( lblRefresh, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+       
+       txtRefresh = new wxTextCtrl( tabRefresh, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
+       #ifdef __WXGTK__
+       if ( !txtRefresh->HasFlag( wxTE_MULTILINE ) )
+       {
+       txtRefresh->SetMaxLength( 5 );
+       }
+       #else
+       txtRefresh->SetMaxLength( 5 );
+       #endif
+       fgSizer431->Add( txtRefresh, 1, wxALL, 5 );
+       
+       
+       tabRefresh->SetSizer( fgSizer431 );
+       tabRefresh->Layout();
+       fgSizer431->Fit( tabRefresh );
+       tabAccount->AddPage( tabRefresh, wxT("Refresh"), false );
+       
+       szrTabs->Add( tabAccount, 1, wxEXPAND | wxALL, 5 );
+       
+       
+       bSizer384->Add( szrTabs, 1, wxEXPAND, 0 );
+       
+       wxBoxSizer* szrButtons;
+       szrButtons = new wxBoxSizer( wxHORIZONTAL );
+       
+       
+       szrButtons->Add( 1, 0, 1, wxEXPAND, 0 );
+       
+       btnSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
+       btnSave->SetDefault(); 
+       szrButtons->Add( btnSave, 0, wxALIGN_RIGHT, 0 );
+       
+       
+       szrButtons->Add( 5, 0, 0, 0, 0 );
+       
+       btnCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
+       szrButtons->Add( btnCancel, 0, wxALIGN_RIGHT, 0 );
+       
+       
+       szrButtons->Add( 5, 0, 0, wxEXPAND, 0 );
+       
+       
+       bSizer384->Add( szrButtons, 0, wxBOTTOM|wxEXPAND, 5 );
+       
+       
+       this->SetSizer( bSizer384 );
+       this->Layout();
+       
+       this->Centre( wxBOTH );
+       
+       // Connect Events
+       btnDetect->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this );
+       btnSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this );
+       btnCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this );
+}
+
+frmEditAccountADT::~frmEditAccountADT()
+{
+       // Disconnect Events
+       btnDetect->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::DetectAddressBook ), NULL, this );
+       btnSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::UpdateSettings ), NULL, this );
+       btnCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmEditAccountADT::CloseWindow ), NULL, this );
+       
+}
+
+frmSSLCertificateADT::frmSSLCertificateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
+{
+       this->SetSizeHints( wxDefaultSize, wxDefaultSize );
+       
+       wxBoxSizer* bSizer384;
+       bSizer384 = new wxBoxSizer( wxVERTICAL );
+       
+       m_notebook28 = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
+       tabSummary = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
+       wxBoxSizer* bSizer386;
+       bSizer386 = new wxBoxSizer( wxVERTICAL );
+       
+       pnlTop = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
+       pnlTop->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNHIGHLIGHT ) );
+       
+       wxBoxSizer* bSizer389;
+       bSizer389 = new wxBoxSizer( wxVERTICAL );
+       
+       lblCertName = new wxStaticText( pnlTop, wxID_ANY, wxT("Certificate Name"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblCertName->Wrap( -1 );
+       lblCertName->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
+       
+       bSizer389->Add( lblCertName, 0, wxALL, 5 );
+       
+       lblValidityStatus = new wxStaticText( pnlTop, wxID_ANY, wxT("Validity Status"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblValidityStatus->Wrap( -1 );
+       bSizer389->Add( lblValidityStatus, 0, wxALL, 5 );
+       
+       
+       pnlTop->SetSizer( bSizer389 );
+       pnlTop->Layout();
+       bSizer389->Fit( pnlTop );
+       bSizer386->Add( pnlTop, 0, wxEXPAND | wxALL, 5 );
+       
+       wxBoxSizer* bSizer392;
+       bSizer392 = new wxBoxSizer( wxVERTICAL );
+       
+       m_panel54 = new wxPanel( tabSummary, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
+       wxFlexGridSizer* fgSizer44;
+       fgSizer44 = new wxFlexGridSizer( 0, 2, 0, 0 );
+       fgSizer44->AddGrowableCol( 1 );
+       fgSizer44->SetFlexibleDirection( wxHORIZONTAL );
+       fgSizer44->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
+       
+       lblIssuedTo = new wxStaticText( m_panel54, wxID_ANY, wxT("Issued To:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblIssuedTo->Wrap( -1 );
+       fgSizer44->Add( lblIssuedTo, 0, wxALL, 5 );
+       
+       lblIssuedToData = new wxStaticText( m_panel54, wxID_ANY, wxT("IssuedTo"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblIssuedToData->Wrap( -1 );
+       fgSizer44->Add( lblIssuedToData, 1, wxALL|wxEXPAND, 5 );
+       
+       lblValidFrom = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid From:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblValidFrom->Wrap( -1 );
+       fgSizer44->Add( lblValidFrom, 0, wxALL, 5 );
+       
+       lblValidFromData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidDate"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblValidFromData->Wrap( -1 );
+       fgSizer44->Add( lblValidFromData, 1, wxALL|wxEXPAND, 5 );
+       
+       lblValidUntil = new wxStaticText( m_panel54, wxID_ANY, wxT("Valid Until:"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblValidUntil->Wrap( -1 );
+       fgSizer44->Add( lblValidUntil, 0, wxALL, 5 );
+       
+       lblValidUntilData = new wxStaticText( m_panel54, wxID_ANY, wxT("ValidUntil"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblValidUntilData->Wrap( -1 );
+       fgSizer44->Add( lblValidUntilData, 1, wxALL|wxEXPAND, 5 );
+       
+       
+       m_panel54->SetSizer( fgSizer44 );
+       m_panel54->Layout();
+       fgSizer44->Fit( m_panel54 );
+       bSizer392->Add( m_panel54, 1, wxEXPAND | wxALL, 5 );
+       
+       
+       bSizer386->Add( bSizer392, 1, wxEXPAND, 5 );
+       
+       
+       tabSummary->SetSizer( bSizer386 );
+       tabSummary->Layout();
+       bSizer386->Fit( tabSummary );
+       m_notebook28->AddPage( tabSummary, wxT("Summary"), true );
+       tabDetail = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
+       wxBoxSizer* bSizer3891;
+       bSizer3891 = new wxBoxSizer( wxVERTICAL );
+       
+       lstValues = new wxListCtrl( tabDetail, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxSUNKEN_BORDER );
+       bSizer3891->Add( lstValues, 1, wxALL|wxEXPAND, 5 );
+       
+       txtValueData = new wxTextCtrl( tabDetail, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_CHARWRAP|wxTE_MULTILINE|wxTE_READONLY );
+       txtValueData->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );
+       
+       bSizer3891->Add( txtValueData, 1, wxALL|wxEXPAND, 5 );
+       
+       
+       tabDetail->SetSizer( bSizer3891 );
+       tabDetail->Layout();
+       bSizer3891->Fit( tabDetail );
+       m_notebook28->AddPage( tabDetail, wxT("Detail"), false );
+       tabHierarchy = new wxPanel( m_notebook28, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
+       wxBoxSizer* bSizer390;
+       bSizer390 = new wxBoxSizer( wxVERTICAL );
+       
+       treHierarchy = new wxTreeCtrl( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTR_DEFAULT_STYLE|wxSUNKEN_BORDER );
+       bSizer390->Add( treHierarchy, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
+       
+       m_panel57 = new wxPanel( tabHierarchy, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
+       wxBoxSizer* bSizer393;
+       bSizer393 = new wxBoxSizer( wxVERTICAL );
+       
+       btnViewCert = new wxButton( m_panel57, wxID_ANY, wxT("View Certificate"), wxDefaultPosition, wxDefaultSize, 0 );
+       bSizer393->Add( btnViewCert, 0, wxALIGN_RIGHT|wxALL, 0 );
+       
+       
+       m_panel57->SetSizer( bSizer393 );
+       m_panel57->Layout();
+       bSizer393->Fit( m_panel57 );
+       bSizer390->Add( m_panel57, 0, wxEXPAND | wxALL, 5 );
+       
+       
+       tabHierarchy->SetSizer( bSizer390 );
+       tabHierarchy->Layout();
+       bSizer390->Fit( tabHierarchy );
+       m_notebook28->AddPage( tabHierarchy, wxT("Hierarchy"), false );
+       
+       bSizer384->Add( m_notebook28, 1, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
+       
+       pnlButtons = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
+       wxBoxSizer* bSizer385;
+       bSizer385 = new wxBoxSizer( wxVERTICAL );
+       
+       btnClose = new wxButton( pnlButtons, wxID_ANY, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
+       btnClose->SetDefault(); 
+       bSizer385->Add( btnClose, 0, wxALIGN_RIGHT, 5 );
+       
+       
+       pnlButtons->SetSizer( bSizer385 );
+       pnlButtons->Layout();
+       bSizer385->Fit( pnlButtons );
+       bSizer384->Add( pnlButtons, 0, wxEXPAND | wxALL, 5 );
+       
+       
+       this->SetSizer( bSizer384 );
+       this->Layout();
+       
+       this->Centre( wxBOTH );
+       
+       // Connect Events
+       lstValues->Connect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this );
+       treHierarchy->Connect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this );
+       btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this );
+       btnClose->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this );
+}
+
+frmSSLCertificateADT::~frmSSLCertificateADT()
+{
+       // Disconnect Events
+       lstValues->Disconnect( wxEVT_COMMAND_LIST_ITEM_SELECTED, wxListEventHandler( frmSSLCertificateADT::LoadValueData ), NULL, this );
+       treHierarchy->Disconnect( wxEVT_COMMAND_TREE_SEL_CHANGED, wxTreeEventHandler( frmSSLCertificateADT::CheckCertificate ), NULL, this );
+       btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::ViewCertificate ), NULL, this );
+       btnClose->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmSSLCertificateADT::CloseWindow ), NULL, this );
+       
+}
+
+frmInvalidSSLCertificateADT::frmInvalidSSLCertificateADT( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
+{
+       this->SetSizeHints( wxDefaultSize, wxDefaultSize );
+       
+       wxBoxSizer* bSizer387;
+       bSizer387 = new wxBoxSizer( wxVERTICAL );
+       
+       lblSSLText = new wxStaticText( this, wxID_ANY, wxT("Text"), wxDefaultPosition, wxDefaultSize, 0 );
+       lblSSLText->Wrap( -1 );
+       bSizer387->Add( lblSSLText, 1, wxALL|wxEXPAND, 5 );
+       
+       wxBoxSizer* bSizer388;
+       bSizer388 = new wxBoxSizer( wxHORIZONTAL );
+       
+       btnAccept = new wxButton( this, wxID_ANY, wxT("Accept"), wxDefaultPosition, wxDefaultSize, 0 );
+       bSizer388->Add( btnAccept, 0, wxALL, 5 );
+       
+       btnReject = new wxButton( this, wxID_ANY, wxT("Reject"), wxDefaultPosition, wxDefaultSize, 0 );
+       btnReject->SetDefault(); 
+       bSizer388->Add( btnReject, 0, wxALL, 5 );
+       
+       btnViewCert = new wxButton( this, wxID_ANY, wxT("View Certificates..."), wxDefaultPosition, wxDefaultSize, 0 );
+       bSizer388->Add( btnViewCert, 0, wxALL, 5 );
+       
+       
+       bSizer387->Add( bSizer388, 0, wxALIGN_CENTER_HORIZONTAL, 0 );
+       
+       
+       this->SetSizer( bSizer387 );
+       this->Layout();
+       
+       this->Centre( wxBOTH );
+       
+       // Connect Events
+       btnAccept->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this );
+       btnReject->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this );
+       btnViewCert->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this );
+}
+
+frmInvalidSSLCertificateADT::~frmInvalidSSLCertificateADT()
+{
+       // Disconnect Events
+       btnAccept->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Accept ), NULL, this );
+       btnReject->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::Reject ), NULL, this );
+       btnViewCert->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( frmInvalidSSLCertificateADT::ViewCertificates ), NULL, this );
+       
+}
diff --git a/source/AppXestiaCalendar.h b/source/AppXestiaCalendar.h
new file mode 100644 (file)
index 0000000..5dd1171
--- /dev/null
@@ -0,0 +1,417 @@
+///////////////////////////////////////////////////////////////////////////
+// C++ code generated with wxFormBuilder (version Nov 13 2016)
+// http://www.wxformbuilder.org/
+//
+// PLEASE DO "NOT" EDIT THIS FILE!
+///////////////////////////////////////////////////////////////////////////
+
+#ifndef __APPXESTIACALENDAR_H__
+#define __APPXESTIACALENDAR_H__
+
+#include <wx/artprov.h>
+#include <wx/xrc/xmlres.h>
+#include <wx/sizer.h>
+#include <wx/gdicmn.h>
+#include <wx/statusbr.h>
+#include <wx/font.h>
+#include <wx/colour.h>
+#include <wx/settings.h>
+#include <wx/string.h>
+#include <wx/bitmap.h>
+#include <wx/image.h>
+#include <wx/icon.h>
+#include <wx/menu.h>
+#include <wx/frame.h>
+#include <wx/stattext.h>
+#include <wx/panel.h>
+#include <wx/statline.h>
+#include <wx/button.h>
+#include <wx/dialog.h>
+#include <wx/checkbox.h>
+#include <wx/listctrl.h>
+#include <wx/notebook.h>
+#include <wx/statbmp.h>
+#include <wx/choice.h>
+#include <wx/textctrl.h>
+#include <wx/html/htmlwin.h>
+#include <wx/splitter.h>
+#include <wx/gauge.h>
+#include <wx/treectrl.h>
+
+///////////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////////////
+/// Class frmMainADT
+///////////////////////////////////////////////////////////////////////////////
+class frmMainADT : public wxFrame 
+{
+       private:
+       
+       protected:
+               wxStatusBar* m_statusBar2;
+               wxMenuBar* menuBar;
+               wxMenu* mnuManage;
+               wxMenu* mnuCreate;
+               wxMenu* mnuHelp;
+       
+       public:
+               
+               frmMainADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Xestia Calendar"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
+               
+               ~frmMainADT();
+       
+};
+
+///////////////////////////////////////////////////////////////////////////////
+/// Class frmUpdateADT
+///////////////////////////////////////////////////////////////////////////////
+class frmUpdateADT : public wxDialog 
+{
+       private:
+       
+       protected:
+               wxPanel* pnlUpdateData;
+               wxStaticText* lblRunningText;
+               wxStaticText* lblRunningVer;
+               wxStaticText* lblAvailableText;
+               wxStaticText* lblAvailableVer;
+               wxStaticText* lblBuildTypeText;
+               wxStaticText* lblBuildType;
+               wxStaticText* lblUpdateMessage;
+               wxStaticLine* statLine;
+               wxButton* btnVisitGelforn;
+               wxButton* btnVisitPREMIUM;
+               wxButton* btnClose;
+               
+               // Virtual event handlers, overide them in your derived class
+               virtual void VisitGelforn( wxCommandEvent& event ) { event.Skip(); }
+               virtual void VisitPREMIUM( wxCommandEvent& event ) { event.Skip(); }
+               virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); }
+               
+       
+       public:
+               
+               frmUpdateADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Check For Updates"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 433,273 ), long style = wxDEFAULT_DIALOG_STYLE ); 
+               ~frmUpdateADT();
+       
+};
+
+///////////////////////////////////////////////////////////////////////////////
+/// Class frmPreferencesADT
+///////////////////////////////////////////////////////////////////////////////
+class frmPreferencesADT : public wxDialog 
+{
+       private:
+       
+       protected:
+               wxNotebook* NbtPreferences;
+               wxPanel* tabGeneral;
+               wxCheckBox* chkSaveWindowPosition;
+               wxCheckBox* chkHideLocal;
+               wxPanel* tabTheme;
+               wxListCtrl* lstThemes;
+               wxButton* btnThemeAdd;
+               wxButton* btnThemeModify;
+               wxButton* btnThemeDelete;
+               wxPanel* tabAccounts;
+               wxListCtrl* lstAccounts;
+               wxButton* btnAccountAdd;
+               wxButton* btnAccountModify;
+               wxButton* btnAccountDelete;
+               wxButton* btnSave;
+               wxButton* btnCancel;
+               
+               // Virtual event handlers, overide them in your derived class
+               virtual void LoadPreferences( wxInitDialogEvent& event ) { event.Skip(); }
+               virtual void DisableABButtons( wxListEvent& event ) { event.Skip(); }
+               virtual void EnableABButtons( wxListEvent& event ) { event.Skip(); }
+               virtual void AddABAccount( wxCommandEvent& event ) { event.Skip(); }
+               virtual void ModifyABAccount( wxCommandEvent& event ) { event.Skip(); }
+               virtual void DeleteABAccount( wxCommandEvent& event ) { event.Skip(); }
+               virtual void SavePreferences( wxCommandEvent& event ) { event.Skip(); }
+               virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); }
+               
+       
+       public:
+               
+               frmPreferencesADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Preferences"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 450,400 ), long style = wxDEFAULT_DIALOG_STYLE ); 
+               ~frmPreferencesADT();
+       
+};
+
+///////////////////////////////////////////////////////////////////////////////
+/// Class frmAboutADT
+///////////////////////////////////////////////////////////////////////////////
+class frmAboutADT : public wxDialog 
+{
+       private:
+       
+       protected:
+               wxStaticBitmap* bmpLogo;
+               wxStaticText* lblVersion;
+               wxStaticText* lblCompileTime;
+               wxStaticText* lblCopyright;
+               wxButton* btnClose;
+               
+               // Virtual event handlers, overide them in your derived class
+               virtual void CloseAboutWindow( wxCommandEvent& event ) { event.Skip(); }
+               
+       
+       public:
+               
+               frmAboutADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("About Xestia Calendar"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 350,400 ), long style = wxDEFAULT_DIALOG_STYLE ); 
+               ~frmAboutADT();
+       
+};
+
+///////////////////////////////////////////////////////////////////////////////
+/// Class frmNewAccountADT
+///////////////////////////////////////////////////////////////////////////////
+class frmNewAccountADT : public wxDialog 
+{
+       private:
+       
+       protected:
+               wxBoxSizer* szrNewAccount;
+               wxPanel* tabType;
+               wxStaticText* lblEnterText;
+               wxStaticText* lblType;
+               wxChoice* cmbServerType;
+               wxStaticText* lblServerAddress;
+               wxTextCtrl* txtServerAddress;
+               wxStaticText* lblServerPort;
+               wxTextCtrl* txtServerPort;
+               wxStaticText* lblUsername;
+               wxTextCtrl* txtUsername;
+               wxStaticText* lblPassword;
+               wxTextCtrl* txtPassword;
+               wxStaticText* lblSSL;
+               wxCheckBox* chkUseSSL;
+               wxPanel* tabConn;
+               wxStaticText* lblConnectionResult;
+               wxStaticText* lblServerConnected;
+               wxStaticText* lblServerConnResult;
+               wxStaticText* lblValidResponse;
+               wxStaticText* lblServerResponse;
+               wxStaticText* lblUseSSL;
+               wxStaticText* lblServerSSLResult;
+               wxStaticText* lblServerSSLCert;
+               wxStaticText* lblServerSSLValid;
+               wxStaticText* lblServerUsernamePassword;
+               wxStaticText* lblAbleToLoginResult;
+               wxStaticText* lblIsCalDAV;
+               wxStaticText* lblCardDAVSupportResult;
+               wxStaticLine* m_staticline3;
+               wxStaticText* lblConnectionResultText;
+               wxPanel* tabFinish;
+               wxStaticText* lblFinishText;
+               wxStaticText* lblAccountName;
+               wxTextCtrl* txtAccountName;
+               wxButton* btnPrevious;
+               wxButton* btnNext;
+               wxButton* btnClose;
+               
+               // Virtual event handlers, overide them in your derived class
+               virtual void UpdateRequirements( wxCommandEvent& event ) { event.Skip(); }
+               virtual void CheckAccountName( wxCommandEvent& event ) { event.Skip(); }
+               virtual void ProcessPrevious( wxCommandEvent& event ) { event.Skip(); }
+               virtual void ProcessNext( wxCommandEvent& event ) { event.Skip(); }
+               virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); }
+               
+       
+       public:
+               
+               frmNewAccountADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("New Account"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 425,330 ), long style = wxDEFAULT_DIALOG_STYLE ); 
+               ~frmNewAccountADT();
+       
+};
+
+///////////////////////////////////////////////////////////////////////////////
+/// Class frmConflictResolutionADT
+///////////////////////////////////////////////////////////////////////////////
+class frmConflictResolutionADT : public wxDialog 
+{
+       private:
+       
+       protected:
+               wxStaticText* lblText;
+               wxSplitterWindow* m_splitter3;
+               wxPanel* m_panel44;
+               wxHtmlWindow* htmClient;
+               wxPanel* m_panel45;
+               wxHtmlWindow* htmServer;
+               wxButton* btnKeepLocal;
+               wxButton* btnKeepServer;
+               wxButton* btnDecideLater;
+               
+               // Virtual event handlers, overide them in your derived class
+               virtual void KeepLocalData( wxCommandEvent& event ) { event.Skip(); }
+               virtual void KeepServerData( wxCommandEvent& event ) { event.Skip(); }
+               virtual void DecideLater( wxCommandEvent& event ) { event.Skip(); }
+               
+       
+       public:
+               
+               frmConflictResolutionADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Conflict Resolution"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 536,417 ), long style = wxDEFAULT_DIALOG_STYLE ); 
+               ~frmConflictResolutionADT();
+               
+               void m_splitter3OnIdle( wxIdleEvent& )
+               {
+                       m_splitter3->SetSashPosition( 257 );
+                       m_splitter3->Disconnect( wxEVT_IDLE, wxIdleEventHandler( frmConflictResolutionADT::m_splitter3OnIdle ), NULL, this );
+               }
+       
+};
+
+///////////////////////////////////////////////////////////////////////////////
+/// Class frmActivityMgrADT
+///////////////////////////////////////////////////////////////////////////////
+class frmActivityMgrADT : public wxFrame 
+{
+       private:
+       
+       protected:
+               wxMenuBar* mnuMenuBar;
+               wxMenu* mnuWindow;
+               wxMenuItem* mnuSleepMode;
+               wxPanel* m_panel43;
+               wxStaticBitmap* bmpActivity;
+               wxPanel* m_panel46;
+               wxStaticText* lblDetails;
+               wxGauge* GauProgress;
+               wxPanel* m_panel44;
+               wxListCtrl* lstActivity;
+               
+               // Virtual event handlers, overide them in your derived class
+               virtual void CloseWindow( wxCloseEvent& event ) { event.Skip(); }
+               virtual void StopTask( wxCommandEvent& event ) { event.Skip(); }
+               virtual void StopAllTasks( wxCommandEvent& event ) { event.Skip(); }
+               virtual void RetryTask( wxCommandEvent& event ) { event.Skip(); }
+               virtual void SleepMode( wxCommandEvent& event ) { event.Skip(); }
+               virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); }
+               
+       
+       public:
+               
+               frmActivityMgrADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Activity Manager"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 400,425 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
+               
+               ~frmActivityMgrADT();
+       
+};
+
+///////////////////////////////////////////////////////////////////////////////
+/// Class frmEditAccountADT
+///////////////////////////////////////////////////////////////////////////////
+class frmEditAccountADT : public wxDialog 
+{
+       private:
+       
+       protected:
+               wxNotebook* tabAccount;
+               wxPanel* tabProperties;
+               wxStaticText* lblAccName;
+               wxTextCtrl* txtAccountName;
+               wxStaticText* lblAccAdr;
+               wxTextCtrl* txtAddress;
+               wxStaticText* m_staticText193;
+               wxTextCtrl* txtPort;
+               wxStaticText* lblPort;
+               wxTextCtrl* txtUsername;
+               wxStaticText* lblPassword;
+               wxTextCtrl* txtPassword;
+               wxStaticText* lblPrefix;
+               wxTextCtrl* txtPrefix;
+               wxButton* btnDetect;
+               wxStaticText* txtSSL;
+               wxCheckBox* chkSSL;
+               wxPanel* tabRefresh;
+               wxStaticText* lblRefresh;
+               wxTextCtrl* txtRefresh;
+               wxButton* btnSave;
+               wxButton* btnCancel;
+               
+               // Virtual event handlers, overide them in your derived class
+               virtual void DetectAddressBook( wxCommandEvent& event ) { event.Skip(); }
+               virtual void UpdateSettings( wxCommandEvent& event ) { event.Skip(); }
+               virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); }
+               
+       
+       public:
+               
+               frmEditAccountADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Edit Account"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 306,341 ), long style = wxDEFAULT_DIALOG_STYLE ); 
+               ~frmEditAccountADT();
+       
+};
+
+///////////////////////////////////////////////////////////////////////////////
+/// Class frmSSLCertificateADT
+///////////////////////////////////////////////////////////////////////////////
+class frmSSLCertificateADT : public wxDialog 
+{
+       private:
+       
+       protected:
+               wxNotebook* m_notebook28;
+               wxPanel* tabSummary;
+               wxPanel* pnlTop;
+               wxStaticText* lblCertName;
+               wxStaticText* lblValidityStatus;
+               wxPanel* m_panel54;
+               wxStaticText* lblIssuedTo;
+               wxStaticText* lblIssuedToData;
+               wxStaticText* lblValidFrom;
+               wxStaticText* lblValidFromData;
+               wxStaticText* lblValidUntil;
+               wxStaticText* lblValidUntilData;
+               wxPanel* tabDetail;
+               wxListCtrl* lstValues;
+               wxTextCtrl* txtValueData;
+               wxPanel* tabHierarchy;
+               wxTreeCtrl* treHierarchy;
+               wxPanel* m_panel57;
+               wxButton* btnViewCert;
+               wxPanel* pnlButtons;
+               wxButton* btnClose;
+               
+               // Virtual event handlers, overide them in your derived class
+               virtual void LoadValueData( wxListEvent& event ) { event.Skip(); }
+               virtual void CheckCertificate( wxTreeEvent& event ) { event.Skip(); }
+               virtual void ViewCertificate( wxCommandEvent& event ) { event.Skip(); }
+               virtual void CloseWindow( wxCommandEvent& event ) { event.Skip(); }
+               
+       
+       public:
+               
+               frmSSLCertificateADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("SSL Certificate Window"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 347,402 ), long style = wxDEFAULT_DIALOG_STYLE ); 
+               ~frmSSLCertificateADT();
+       
+};
+
+///////////////////////////////////////////////////////////////////////////////
+/// Class frmInvalidSSLCertificateADT
+///////////////////////////////////////////////////////////////////////////////
+class frmInvalidSSLCertificateADT : public wxDialog 
+{
+       private:
+       
+       protected:
+               wxStaticText* lblSSLText;
+               wxButton* btnAccept;
+               wxButton* btnReject;
+               wxButton* btnViewCert;
+               
+               // Virtual event handlers, overide them in your derived class
+               virtual void Accept( wxCommandEvent& event ) { event.Skip(); }
+               virtual void Reject( wxCommandEvent& event ) { event.Skip(); }
+               virtual void ViewCertificates( wxCommandEvent& event ) { event.Skip(); }
+               
+       
+       public:
+               
+               frmInvalidSSLCertificateADT( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Invalid SSL Certificate"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 445,239 ), long style = wxCAPTION ); 
+               ~frmInvalidSSLCertificateADT();
+       
+};
+
+#endif //__APPXESTIACALENDAR_H__
diff --git a/source/forms/actmgr/frmActivityMgr.cpp b/source/forms/actmgr/frmActivityMgr.cpp
new file mode 100644 (file)
index 0000000..35b9ec5
--- /dev/null
@@ -0,0 +1,33 @@
+#include "frmActivityMgr.h"
+
+frmActivityMgr::frmActivityMgr( wxWindow* parent )
+:
+frmActivityMgrADT( parent )
+{
+
+}
+
+void frmActivityMgr::CloseWindow( wxCloseEvent& event )
+{
+// TODO: Implement CloseWindow
+}
+
+void frmActivityMgr::StopTask( wxCommandEvent& event )
+{
+// TODO: Implement StopTask
+}
+
+void frmActivityMgr::StopAllTasks( wxCommandEvent& event )
+{
+// TODO: Implement StopAllTasks
+}
+
+void frmActivityMgr::RetryTask( wxCommandEvent& event )
+{
+// TODO: Implement RetryTask
+}
+
+void frmActivityMgr::SleepMode( wxCommandEvent& event )
+{
+// TODO: Implement SleepMode
+}
diff --git a/source/forms/actmgr/frmActivityMgr.h b/source/forms/actmgr/frmActivityMgr.h
new file mode 100644 (file)
index 0000000..e41791e
--- /dev/null
@@ -0,0 +1,30 @@
+#ifndef __frmActivityMgr__
+#define __frmActivityMgr__
+
+/**
+@file
+Subclass of frmActivityMgrADT, which is generated by wxFormBuilder.
+*/
+
+#include "../../AppXestiaCalendar.h"
+
+//// end generated include
+
+/** Implementing frmActivityMgrADT */
+class frmActivityMgr : public frmActivityMgrADT
+{
+       protected:
+               // Handlers for frmActivityMgrADT events.
+               void CloseWindow( wxCloseEvent& event );
+               void StopTask( wxCommandEvent& event );
+               void StopAllTasks( wxCommandEvent& event );
+               void RetryTask( wxCommandEvent& event );
+               void SleepMode( wxCommandEvent& event );
+       public:
+               /** Constructor */
+               frmActivityMgr( wxWindow* parent );
+       //// end generated class members
+       
+};
+
+#endif // __frmActivityMgr__
diff --git a/source/forms/frmAbout.cpp b/source/forms/frmAbout.cpp
new file mode 100644 (file)
index 0000000..0d13d80
--- /dev/null
@@ -0,0 +1,13 @@
+#include "frmAbout.h"
+
+frmAbout::frmAbout( wxWindow* parent )
+:
+frmAboutADT( parent )
+{
+
+}
+
+void frmAbout::CloseAboutWindow( wxCommandEvent& event )
+{
+// TODO: Implement CloseAboutWindow
+}
diff --git a/source/forms/frmAbout.h b/source/forms/frmAbout.h
new file mode 100644 (file)
index 0000000..d558160
--- /dev/null
@@ -0,0 +1,26 @@
+#ifndef __frmAbout__
+#define __frmAbout__
+
+/**
+@file
+Subclass of frmAboutADT, which is generated by wxFormBuilder.
+*/
+
+#include "../AppXestiaCalendar.h"
+
+//// end generated include
+
+/** Implementing frmAboutADT */
+class frmAbout : public frmAboutADT
+{
+       protected:
+               // Handlers for frmAboutADT events.
+               void CloseAboutWindow( wxCommandEvent& event );
+       public:
+               /** Constructor */
+               frmAbout( wxWindow* parent );
+       //// end generated class members
+       
+};
+
+#endif // __frmAbout__
diff --git a/source/forms/frmConflictResolution.cpp b/source/forms/frmConflictResolution.cpp
new file mode 100644 (file)
index 0000000..e9e9501
--- /dev/null
@@ -0,0 +1,23 @@
+#include "frmConflictResolution.h"
+
+frmConflictResolution::frmConflictResolution( wxWindow* parent )
+:
+frmConflictResolutionADT( parent )
+{
+
+}
+
+void frmConflictResolution::KeepLocalData( wxCommandEvent& event )
+{
+// TODO: Implement KeepLocalData
+}
+
+void frmConflictResolution::KeepServerData( wxCommandEvent& event )
+{
+// TODO: Implement KeepServerData
+}
+
+void frmConflictResolution::DecideLater( wxCommandEvent& event )
+{
+// TODO: Implement DecideLater
+}
diff --git a/source/forms/frmConflictResolution.h b/source/forms/frmConflictResolution.h
new file mode 100644 (file)
index 0000000..3fda92d
--- /dev/null
@@ -0,0 +1,28 @@
+#ifndef __frmConflictResolution__
+#define __frmConflictResolution__
+
+/**
+@file
+Subclass of frmConflictResolutionADT, which is generated by wxFormBuilder.
+*/
+
+#include "../AppXestiaCalendar.h"
+
+//// end generated include
+
+/** Implementing frmConflictResolutionADT */
+class frmConflictResolution : public frmConflictResolutionADT
+{
+       protected:
+               // Handlers for frmConflictResolutionADT events.
+               void KeepLocalData( wxCommandEvent& event );
+               void KeepServerData( wxCommandEvent& event );
+               void DecideLater( wxCommandEvent& event );
+       public:
+               /** Constructor */
+               frmConflictResolution( wxWindow* parent );
+       //// end generated class members
+       
+};
+
+#endif // __frmConflictResolution__
diff --git a/source/forms/frmEditAccount.cpp b/source/forms/frmEditAccount.cpp
new file mode 100644 (file)
index 0000000..7afab25
--- /dev/null
@@ -0,0 +1,23 @@
+#include "frmEditAccount.h"
+
+frmEditAccount::frmEditAccount( wxWindow* parent )
+:
+frmEditAccountADT( parent )
+{
+
+}
+
+void frmEditAccount::DetectAddressBook( wxCommandEvent& event )
+{
+// TODO: Implement DetectAddressBook
+}
+
+void frmEditAccount::UpdateSettings( wxCommandEvent& event )
+{
+// TODO: Implement UpdateSettings
+}
+
+void frmEditAccount::CloseWindow( wxCommandEvent& event )
+{
+// TODO: Implement CloseWindow
+}
diff --git a/source/forms/frmEditAccount.h b/source/forms/frmEditAccount.h
new file mode 100644 (file)
index 0000000..d19cbc6
--- /dev/null
@@ -0,0 +1,28 @@
+#ifndef __frmEditAccount__
+#define __frmEditAccount__
+
+/**
+@file
+Subclass of frmEditAccountADT, which is generated by wxFormBuilder.
+*/
+
+#include "../AppXestiaCalendar.h"
+
+//// end generated include
+
+/** Implementing frmEditAccountADT */
+class frmEditAccount : public frmEditAccountADT
+{
+       protected:
+               // Handlers for frmEditAccountADT events.
+               void DetectAddressBook( wxCommandEvent& event );
+               void UpdateSettings( wxCommandEvent& event );
+               void CloseWindow( wxCommandEvent& event );
+       public:
+               /** Constructor */
+               frmEditAccount( wxWindow* parent );
+       //// end generated class members
+       
+};
+
+#endif // __frmEditAccount__
diff --git a/source/forms/frmInvalidSSLCertificate.cpp b/source/forms/frmInvalidSSLCertificate.cpp
new file mode 100644 (file)
index 0000000..77a0b0f
--- /dev/null
@@ -0,0 +1,23 @@
+#include "frmInvalidSSLCertificate.h"
+
+frmInvalidSSLCertificate::frmInvalidSSLCertificate( wxWindow* parent )
+:
+frmInvalidSSLCertificateADT( parent )
+{
+
+}
+
+void frmInvalidSSLCertificate::Accept( wxCommandEvent& event )
+{
+// TODO: Implement Accept
+}
+
+void frmInvalidSSLCertificate::Reject( wxCommandEvent& event )
+{
+// TODO: Implement Reject
+}
+
+void frmInvalidSSLCertificate::ViewCertificates( wxCommandEvent& event )
+{
+// TODO: Implement ViewCertificates
+}
diff --git a/source/forms/frmInvalidSSLCertificate.h b/source/forms/frmInvalidSSLCertificate.h
new file mode 100644 (file)
index 0000000..f408079
--- /dev/null
@@ -0,0 +1,28 @@
+#ifndef __frmInvalidSSLCertificate__
+#define __frmInvalidSSLCertificate__
+
+/**
+@file
+Subclass of frmInvalidSSLCertificateADT, which is generated by wxFormBuilder.
+*/
+
+#include "../AppXestiaCalendar.h"
+
+//// end generated include
+
+/** Implementing frmInvalidSSLCertificateADT */
+class frmInvalidSSLCertificate : public frmInvalidSSLCertificateADT
+{
+       protected:
+               // Handlers for frmInvalidSSLCertificateADT events.
+               void Accept( wxCommandEvent& event );
+               void Reject( wxCommandEvent& event );
+               void ViewCertificates( wxCommandEvent& event );
+       public:
+               /** Constructor */
+               frmInvalidSSLCertificate( wxWindow* parent );
+       //// end generated class members
+       
+};
+
+#endif // __frmInvalidSSLCertificate__
diff --git a/source/forms/frmSSLCertificate.cpp b/source/forms/frmSSLCertificate.cpp
new file mode 100644 (file)
index 0000000..89a7c4a
--- /dev/null
@@ -0,0 +1,28 @@
+#include "frmSSLCertificate.h"
+
+frmSSLCertificate::frmSSLCertificate( wxWindow* parent )
+:
+frmSSLCertificateADT( parent )
+{
+
+}
+
+void frmSSLCertificate::LoadValueData( wxListEvent& event )
+{
+// TODO: Implement LoadValueData
+}
+
+void frmSSLCertificate::CheckCertificate( wxTreeEvent& event )
+{
+// TODO: Implement CheckCertificate
+}
+
+void frmSSLCertificate::ViewCertificate( wxCommandEvent& event )
+{
+// TODO: Implement ViewCertificate
+}
+
+void frmSSLCertificate::CloseWindow( wxCommandEvent& event )
+{
+// TODO: Implement CloseWindow
+}
diff --git a/source/forms/frmSSLCertificate.h b/source/forms/frmSSLCertificate.h
new file mode 100644 (file)
index 0000000..3145a63
--- /dev/null
@@ -0,0 +1,29 @@
+#ifndef __frmSSLCertificate__
+#define __frmSSLCertificate__
+
+/**
+@file
+Subclass of frmSSLCertificateADT, which is generated by wxFormBuilder.
+*/
+
+#include "../AppXestiaCalendar.h"
+
+//// end generated include
+
+/** Implementing frmSSLCertificateADT */
+class frmSSLCertificate : public frmSSLCertificateADT
+{
+       protected:
+               // Handlers for frmSSLCertificateADT events.
+               void LoadValueData( wxListEvent& event );
+               void CheckCertificate( wxTreeEvent& event );
+               void ViewCertificate( wxCommandEvent& event );
+               void CloseWindow( wxCommandEvent& event );
+       public:
+               /** Constructor */
+               frmSSLCertificate( wxWindow* parent );
+       //// end generated class members
+       
+};
+
+#endif // __frmSSLCertificate__
diff --git a/source/forms/frmUpdate.cpp b/source/forms/frmUpdate.cpp
new file mode 100644 (file)
index 0000000..bd9a39c
--- /dev/null
@@ -0,0 +1,23 @@
+#include "frmUpdate.h"
+
+frmUpdate::frmUpdate( wxWindow* parent )
+:
+frmUpdateADT( parent )
+{
+
+}
+
+void frmUpdate::VisitGelforn( wxCommandEvent& event )
+{
+// TODO: Implement VisitGelforn
+}
+
+void frmUpdate::VisitPREMIUM( wxCommandEvent& event )
+{
+// TODO: Implement VisitPREMIUM
+}
+
+void frmUpdate::CloseWindow( wxCommandEvent& event )
+{
+// TODO: Implement CloseWindow
+}
diff --git a/source/forms/frmUpdate.h b/source/forms/frmUpdate.h
new file mode 100644 (file)
index 0000000..b4371a4
--- /dev/null
@@ -0,0 +1,28 @@
+#ifndef __frmUpdate__
+#define __frmUpdate__
+
+/**
+@file
+Subclass of frmUpdateADT, which is generated by wxFormBuilder.
+*/
+
+#include "../AppXestiaCalendar.h"
+
+//// end generated include
+
+/** Implementing frmUpdateADT */
+class frmUpdate : public frmUpdateADT
+{
+       protected:
+               // Handlers for frmUpdateADT events.
+               void VisitGelforn( wxCommandEvent& event );
+               void VisitPREMIUM( wxCommandEvent& event );
+               void CloseWindow( wxCommandEvent& event );
+       public:
+               /** Constructor */
+               frmUpdate( wxWindow* parent );
+       //// end generated class members
+       
+};
+
+#endif // __frmUpdate__
diff --git a/source/forms/main/frmMain.cpp b/source/forms/main/frmMain.cpp
new file mode 100644 (file)
index 0000000..ad424fa
--- /dev/null
@@ -0,0 +1,8 @@
+#include "frmMain.h"
+
+frmMain::frmMain( wxWindow* parent )
+:
+frmMainADT( parent )
+{
+
+}
diff --git a/source/forms/main/frmMain.h b/source/forms/main/frmMain.h
new file mode 100644 (file)
index 0000000..8e27797
--- /dev/null
@@ -0,0 +1,23 @@
+#ifndef __frmMain__
+#define __frmMain__
+
+/**
+@file
+Subclass of frmMainADT, which is generated by wxFormBuilder.
+*/
+
+#include "../../AppXestiaCalendar.h"
+
+//// end generated include
+
+/** Implementing frmMainADT */
+class frmMain : public frmMainADT
+{
+       public:
+               /** Constructor */
+               frmMain( wxWindow* parent );
+       //// end generated class members
+       
+};
+
+#endif // __frmMain__
diff --git a/source/forms/newaccount/frmNewAccount.cpp b/source/forms/newaccount/frmNewAccount.cpp
new file mode 100644 (file)
index 0000000..6baed82
--- /dev/null
@@ -0,0 +1,33 @@
+#include "frmNewAccount.h"
+
+frmNewAccount::frmNewAccount( wxWindow* parent )
+:
+frmNewAccountADT( parent )
+{
+
+}
+
+void frmNewAccount::UpdateRequirements( wxCommandEvent& event )
+{
+// TODO: Implement UpdateRequirements
+}
+
+void frmNewAccount::CheckAccountName( wxCommandEvent& event )
+{
+// TODO: Implement CheckAccountName
+}
+
+void frmNewAccount::ProcessPrevious( wxCommandEvent& event )
+{
+// TODO: Implement ProcessPrevious
+}
+
+void frmNewAccount::ProcessNext( wxCommandEvent& event )
+{
+// TODO: Implement ProcessNext
+}
+
+void frmNewAccount::CloseWindow( wxCommandEvent& event )
+{
+// TODO: Implement CloseWindow
+}
diff --git a/source/forms/newaccount/frmNewAccount.h b/source/forms/newaccount/frmNewAccount.h
new file mode 100644 (file)
index 0000000..bf5ff04
--- /dev/null
@@ -0,0 +1,30 @@
+#ifndef __frmNewAccount__
+#define __frmNewAccount__
+
+/**
+@file
+Subclass of frmNewAccountADT, which is generated by wxFormBuilder.
+*/
+
+#include "../../AppXestiaCalendar.h"
+
+//// end generated include
+
+/** Implementing frmNewAccountADT */
+class frmNewAccount : public frmNewAccountADT
+{
+       protected:
+               // Handlers for frmNewAccountADT events.
+               void UpdateRequirements( wxCommandEvent& event );
+               void CheckAccountName( wxCommandEvent& event );
+               void ProcessPrevious( wxCommandEvent& event );
+               void ProcessNext( wxCommandEvent& event );
+               void CloseWindow( wxCommandEvent& event );
+       public:
+               /** Constructor */
+               frmNewAccount( wxWindow* parent );
+       //// end generated class members
+       
+};
+
+#endif // __frmNewAccount__
diff --git a/source/forms/preferences/frmPreferences.cpp b/source/forms/preferences/frmPreferences.cpp
new file mode 100644 (file)
index 0000000..aa9aefe
--- /dev/null
@@ -0,0 +1,48 @@
+#include "frmPreferences.h"
+
+frmPreferences::frmPreferences( wxWindow* parent )
+:
+frmPreferencesADT( parent )
+{
+
+}
+
+void frmPreferences::LoadPreferences( wxInitDialogEvent& event )
+{
+// TODO: Implement LoadPreferences
+}
+
+void frmPreferences::DisableABButtons( wxListEvent& event )
+{
+// TODO: Implement DisableABButtons
+}
+
+void frmPreferences::EnableABButtons( wxListEvent& event )
+{
+// TODO: Implement EnableABButtons
+}
+
+void frmPreferences::AddABAccount( wxCommandEvent& event )
+{
+// TODO: Implement AddABAccount
+}
+
+void frmPreferences::ModifyABAccount( wxCommandEvent& event )
+{
+// TODO: Implement ModifyABAccount
+}
+
+void frmPreferences::DeleteABAccount( wxCommandEvent& event )
+{
+// TODO: Implement DeleteABAccount
+}
+
+void frmPreferences::SavePreferences( wxCommandEvent& event )
+{
+// TODO: Implement SavePreferences
+}
+
+void frmPreferences::CloseWindow( wxCommandEvent& event )
+{
+// TODO: Implement CloseWindow
+}
diff --git a/source/forms/preferences/frmPreferences.h b/source/forms/preferences/frmPreferences.h
new file mode 100644 (file)
index 0000000..931ca40
--- /dev/null
@@ -0,0 +1,33 @@
+#ifndef __frmPreferences__
+#define __frmPreferences__
+
+/**
+@file
+Subclass of frmPreferencesADT, which is generated by wxFormBuilder.
+*/
+
+#include "../../AppXestiaCalendar.h"
+
+//// end generated include
+
+/** Implementing frmPreferencesADT */
+class frmPreferences : public frmPreferencesADT
+{
+       protected:
+               // Handlers for frmPreferencesADT events.
+               void LoadPreferences( wxInitDialogEvent& event );
+               void DisableABButtons( wxListEvent& event );
+               void EnableABButtons( wxListEvent& event );
+               void AddABAccount( wxCommandEvent& event );
+               void ModifyABAccount( wxCommandEvent& event );
+               void DeleteABAccount( wxCommandEvent& event );
+               void SavePreferences( wxCommandEvent& event );
+               void CloseWindow( wxCommandEvent& event );
+       public:
+               /** Constructor */
+               frmPreferences( wxWindow* parent );
+       //// end generated class members
+       
+};
+
+#endif // __frmPreferences__
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