void * FbFulltextThread::Entry() { FbMainDatabase database; database.Open(wxGetApp().GetLibFile()); DoPulse(_("Create full text search index")); database.ExecuteUpdate("VACUUM"); database.CreateFullText(true, this); FbCommandEvent(wxEVT_COMMAND_BUTTON_CLICKED, wxID_OK).Post(GetOwner()); return NULL; }
/////////////////////////////////////////////////////////////// // // CSimControl::EnableSimSystem // // Turn on and off here // Not applied until the next pulse unless bApplyNow is set // /////////////////////////////////////////////////////////////// void CSimControl::EnableSimSystem ( bool bEnable, bool bApplyNow ) { ms_bEnableRequest = bEnable; if ( bApplyNow ) DoPulse (); }
void CClientRadarArea::DoPulse ( void ) { DoPulse ( true ); }
/////////////////////////////////////////////////////////////// // // CModelCacheManagerImpl::UpdateVehicleModelCaching // // // /////////////////////////////////////////////////////////////// void CModelCacheManagerImpl::UpdateVehicleModelCaching ( const std::map < ushort, float >& newNeedCacheList ) { DoPulse (); UpdateModelCaching ( newNeedCacheList, m_VehicleModelCacheInfoMap, m_uiMaxCachedVehicleModels ); }