Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Removed more unused code from common/timers.cpp
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Fri, 11 Mar 2016 17:24:19 +0000 (17:24 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Fri, 11 Mar 2016 17:24:19 +0000 (17:24 +0000)
source/common/timers.cpp

index 640997a..739c29f 100644 (file)
@@ -185,7 +185,6 @@ void wxActTimer::StartAnimation()
        frmMain *frmMainPtrProc = static_cast<frmMain*>(frmMainPtr);
        wxCommandEvent actstart(ACTMGR_START);
        wxPostEvent(frmMainPtrProc, actstart);
-       //frmMainPtrProc->ActivityIconStart();
     
        this->ResetBitmap();
        this->Start(50, FALSE);
@@ -276,8 +275,6 @@ void wxActListProcTimer::Notify(){
                        wxPostEvent(static_cast<frmActivityMgr*>(ActMgrPtr), uevent);
                        iter->second = 5;           
 
-                       //lstActivityPtr->SetItem(LongIter->second, 2, _("Failed"));
-           
                } else if (iter->second == 3){
  
                        ueventdata->ItemIndex = LongIter->second;
@@ -286,9 +283,6 @@ void wxActListProcTimer::Notify(){
                        wxPostEvent(static_cast<frmActivityMgr*>(ActMgrPtr), uevent);
                        iter->second = 5;
             
-                       //lstActivityPtr->SetItem(LongIter->second, 2, _("Stopped"));
-                       //iter->second = 6;
-            
                } else if (iter->second == 4){
             
                        ueventdata->ItemIndex = LongIter->second;
@@ -296,9 +290,6 @@ void wxActListProcTimer::Notify(){
            
                        wxPostEvent(static_cast<frmActivityMgr*>(ActMgrPtr), uevent);
                        iter->second = 8;
-           
-                       //lstActivityPtr->SetItem(LongIter->second, 2, _("Completed"));
-                       //iter->second = 8;
             
                }
         
@@ -509,25 +500,6 @@ void wxContactFileMonitorTimer::UpdateTimestamp(){
 
 void wxContactWindowMonitor::Notify(){
     
-       // Look through the list of windows and see if any have
-       // closed. IF they have closed then delete and free the
-       // memory (also delete from the map).
-    
-       /*for(std::map<wxString, void*>::iterator iter = ContactWindowListPtr->begin();
-       iter != ContactWindowListPtr->end(); iter++){
-     
-       frmContact *ContactPtr = (frmContact*)iter->second;
-     
-     // Check if open.
-     
-     if (
-     
-     // Delete the form.
-     
-     // Delete the data from the map.
-     
-     }*/
-    
 }
 
 void wxContactWindowMonitor::SetupPointers(std::map<wxString, void*> *ContactWindowListPtrInc){
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