X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcommon%2Ftimers.h;h=0af0942401a035391d08fc77843f20e08369d622;hb=2c8998278759b5bf6fc3bcf75afd289c214b6c84;hp=f9c6902f84d392b236a97d7f60a38dc6ad194867;hpb=969329975a0af9d346c76dc34e9ff9cd54cc61ee;p=xestiaab%2F.git diff --git a/source/common/timers.h b/source/common/timers.h index f9c6902..0af0942 100644 --- a/source/common/timers.h +++ b/source/common/timers.h @@ -1,10 +1,29 @@ +// timers.h - Timers subroutines header. +// +// (c) 2012-2015 Xestia Software Development. +// +// This file is part of Xestia Address Book. +// +// Xestia Address Book is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by the +// Free Software Foundation, version 3 of the license. +// +// Xestia Address Book is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with Xestia Address Book. If not, see + #include #include #include #include #include -#include "../frmActivityMgr.h" +#include "../actmgr/frmActivityMgr.h" #include "../contacteditor/frmContactEditor.h" +#include "../connobject/ConnectionObject.h" #include "etag.h" #ifndef TIMERS_H @@ -54,19 +73,20 @@ class wxActListProcTimer : public wxTimer { private: - std::map *ActListPtr; - std::map *ActListUIPtr; - std::map *ActListDetailPtr; - 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() @@ -77,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 *ActListFinDT, std::map *ActListConnObjects); void EnableClearup(); };