X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Factmgr%2FfrmActivityMgr.h;h=9947ea4834f5e20a5a4ac1def3593f3aa1e2fca5;hb=f69e09d827e06435ea94bb73aa71ab5f9d5c035b;hp=fec4778a807352fe84ac15f582a792ce1a79fcd2;hpb=ac6a944ddaf6ed0997259dda6404c1dc71ed4035;p=xestiaab%2F.git diff --git a/source/actmgr/frmActivityMgr.h b/source/actmgr/frmActivityMgr.h index fec4778..9947ea4 100644 --- a/source/actmgr/frmActivityMgr.h +++ b/source/actmgr/frmActivityMgr.h @@ -33,13 +33,14 @@ Subclass of frmActivityMgrADT, which is generated by wxFormBuilder. #endif #include "../AppXestiaAddrBk.h" -#include "../carddav/carddav.h" #include "../common/timers.h" #include "../common/etag.h" #include "../common/dirs.h" #include "../common/preferences.h" #include "../common/sslcertstructs.h" - +#include "../connobject/ConnectionObject.h" +#include "../carddav2/carddav2.h" + #if defined(__WIN32__) #include "../common/win32ssl.h" #endif @@ -53,6 +54,7 @@ DECLARE_EVENT_TYPE(ACTMGR_STOPTIMER, wxID_ANY) DECLARE_EVENT_TYPE(ACTMGR_STARTPROCESSTIMER, wxID_ANY) DECLARE_EVENT_TYPE(ACTMGR_STOPPROCESSTIMER, wxID_ANY) DECLARE_EVENT_TYPE(ACTMGR_UPDATESTATUSLABEL, wxID_ANY) +DECLARE_EVENT_TYPE(ACTMGR_STARTANIMATIONTIMER, wxID_ANY) struct vCardDownloadDataFileClass{ unsigned int DataType = 0; @@ -106,7 +108,7 @@ class frmActivityMgr : public frmActivityMgrADT std::map ActivityListAccount; std::map ActivityListFilename; std::map ActivityListFullFilename; - std::map ActivityListConn; + std::map ActivityListConnObject; std::map ActivityListAccSettings; std::map ActivityListETag; std::map ActivityListETagOriginal; @@ -114,7 +116,7 @@ class frmActivityMgr : public frmActivityMgrADT std::map ActivityListLog; bool WindowOpen = FALSE; bool TasksActive = FALSE; - bool SleepMode = FALSE; + bool ApplicationSleepMode = FALSE; bool ProcessTasksData = FALSE; //int ConflictResult = 0; wxETagProcessTimer *ETagTmrPtr; @@ -134,11 +136,14 @@ class frmActivityMgr : public frmActivityMgrADT void StopTimer( wxCommandEvent& event ); void StartProcessTimer( wxCommandEvent& event ); void StopProcessTimer( wxCommandEvent& event ); + void StartAnimationTimer(wxCommandEvent& event); void FlushAllTasks(); void RemoveTask(); void ProcessTasksThread(); void ToggleConnectionStatus( wxCommandEvent& event ); + void SleepMode( wxCommandEvent &event ); void WriteServerCertificate(wxString AccountName, SSLCertCollection SSLCertInc); + void WriteServerCertificate(wxString AccountName, SSLCertCollectionString SSLCertInc); void UpdateStatusLabel( wxCommandEvent& event ); public: /** Constructor */