X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=blobdiff_plain;f=source%2Fcommon%2Ftimers.h;h=0af0942401a035391d08fc77843f20e08369d622;hp=4bb44825913e58ea4df10e80058fe4e642c2cbf6;hb=2c8998278759b5bf6fc3bcf75afd289c214b6c84;hpb=d042c124580649327968a6950ef8e6f0ca2be399 diff --git a/source/common/timers.h b/source/common/timers.h index 4bb4482..0af0942 100644 --- a/source/common/timers.h +++ b/source/common/timers.h @@ -23,6 +23,7 @@ #include #include "../actmgr/frmActivityMgr.h" #include "../contacteditor/frmContactEditor.h" +#include "../connobject/ConnectionObject.h" #include "etag.h" #ifndef TIMERS_H @@ -30,7 +31,6 @@ struct ETagDB; struct frmContactEditor; -struct CardDAV; class wxActTimer : public wxTimer { @@ -73,20 +73,20 @@ class wxActListProcTimer : public wxTimer { private: - std::map *ActListPtr; - std::map *ActListUIPtr; - std::map *ActListDetailPtr; - std::map *ActListConnPtr; - wxListCtrl *lstActivityPtr; - wxStaticText *lblDetailsPtr; - bool *TasksActivePtr; - wxGauge *GauProgressPtr; - void *ActMgrPtr; + std::map *ActListPtr = nullptr; + std::map *ActListUIPtr = nullptr; + std::map *ActListDetailPtr = nullptr; + wxListCtrl *lstActivityPtr = nullptr; + wxStaticText *lblDetailsPtr = nullptr; + bool *TasksActivePtr = nullptr; + wxGauge *GauProgressPtr = nullptr; + void *ActMgrPtr = nullptr; int intActivityTotal = 0; int intActivityCompleted = 0; - wxActTimer *ActTimerPtr; - wxActProcessTimer *ActProcessTimerPtr; - std::map *ActListFinDTPtr; + wxActTimer *ActTimerPtr = nullptr; + wxActProcessTimer *ActProcessTimerPtr = nullptr; + std::map *ActListFinDTPtr = nullptr; + std::map *ActListConnObjectsPtr = nullptr; bool ClearupProcessed = FALSE; public: wxActListProcTimer():wxTimer() @@ -97,7 +97,7 @@ public: std::map *ActListDetail, bool *TasksActive, wxListCtrl *lstActivity, wxStaticText *lblDetails, wxGauge *GauProgress, void *ActMgr, wxActTimer *ActTimer, wxActProcessTimer *ActProcessTimer, - std::map *ActListFinDT, std::map *ActListConn); + std::map *ActListFinDT, std::map *ActListConnObjects); void EnableClearup(); };