void wxActTimer::Notify(){
+ // Notify function for wxActTimer.
+
frmMain *frmMainPtrProc = static_cast<frmMain*>(frmMainPtr);
wxCommandEvent shuffleevent(ACTMGR_SHUFFLE);
void wxActTimer::SetBitmap(wxStaticBitmap *bitmap)
{
+ // Set the bitmap for wxActTimer.
+
bmpActivity = bitmap;
}
void wxActTimer::SetSleepBitmap(wxBitmap *SleepBitmap)
{
+ // Set the sleep bitmap for wxActTimer.
+
SleepBitmapPtr = SleepBitmap;
}
void wxActTimer::ResetBitmap()
{
+ // Reset the bitmap for wxActTimer.
+
intActivityProgress = 0;
}
void wxActTimer::SetupPointer(void *frmMainPtrIn)
{
+ // Setup the pointer for wxActTimer.
+
frmMainPtr = frmMainPtrIn;
}
void wxActProcessTimer::Notify()
{
+ // Notify function for wxActProcessTimer.
+
// Pause the timer whilst processing to avoid problems.
this->Stop();
void wxActProcessTimer::SetupPointers(void *ActMgr){
+ // Setup pointers for the wxActProcessTimer.
+
ActMgrPtr = ActMgr;
}
void wxActListProcTimer::Notify(){
+ // Notify function for wxActListProcTimer.
+
// Setup Label and get task data (update SetupPointers subroutine).
this->Stop();
void *ActMgr, wxActTimer *ActTimer, wxActProcessTimer *ActProcessTimer,
std::map<int,wxDateTime> *ActListFinDT, std::map<int, CardDAV*> *ActListConn){
+ // Setup the pointers for wxActListProcTimer.
+
ActListPtr = ActList;
ActListUIPtr = ActListUI;
ActListDetailPtr = ActListDetail;
void wxActListProcTimer::EnableClearup(){
+ // Enable clearup of the wxActListProcTimer.
+
ClearupProcessed = TRUE;
}
void wxETagProcessTimer::Notify(){
+ // Notify function for wxETagProcessTimer.
+
// Check each ETagDB and see if writing to file is required.
std::map<wxString,ETagDB>::iterator ETagIter;
ETagDB* wxETagProcessTimer::GetPointer(wxString AccountName){
+ // Get the pointer of the ETag Database.
+
ETagDB *ETagDBPtr = NULL;
std::map<wxString,ETagDB>::iterator ETagIter;
void wxContactFileMonitorTimer::Notify(){
+ // Notify function for wxContactFileMonitorTimer.
+
if (Filename.IsEmpty()){
return;
void wxContactFileMonitorTimer::SetFilename(wxString FilenameInc){
+ // Set the filename for the wxContactFileMonitorTimer object.
+
Filename = FilenameInc;
wxFileName FileCheck(Filename);
void wxContactFileMonitorTimer::SetupPointers(frmContactEditor *frmCEPtrInc){
+ // Setup the pointers for the wxContactFileMonitorTimer object.
+
frmCEPtr = frmCEPtrInc;
}
void wxContactFileMonitorTimer::UpdateTimestamp(){
+ // Update the timestamp for the wxContactFileMonitorTimer object.
+
wxFileName FileCheck(Filename);
FileDateTime = FileCheck.GetModificationTime();
void wxContactWindowMonitor::Notify(){
+ // Notify function for the wxContactWindowMonitor object.
+
}
void wxContactWindowMonitor::SetupPointers(std::map<wxString, void*> *ContactWindowListPtrInc){
+ // Setup pointers for the wxContactWindowMonitor.
+
ContactWindowListPtr = ContactWindowListPtrInc;
}
void wxAccountSyncTimer::Notify(){
+ // Notify function for the wxAccountSyncTimer.
+
frmActivityMgr *ActMgrPtrProc = static_cast<frmActivityMgr*>(frmActMgrPtr);
// Disable the timer. (Don't go updating unless needed).
void wxAccountSyncTimer::SetupData(wxString AccNameInc,
wxString AccNameFullInc){
+ // Setup the data for the wxAccountSyncTimer object.
+
// Set the account name.
AccName = AccNameInc;
void wxAccountSyncTimer::SetupPointers(void *frmMainPtrInc,
void *frmActMgrPtrInc, ETagDB *ETagDBPtrInc){
- // Set the pointers.
+ // Setup the pointers for the wxAccountSyncTimer object.
frmMainPtr = frmMainPtrInc;
frmActMgrPtr = frmActMgrPtrInc;
void SleepFor(unsigned long longSleepNanoSecs){
+ // Sleep for specified nano seconds.
+
#ifdef __WIN32__
::Sleep((longSleepNanoSecs / 1000000));
#elif __HAIKU__