本文整理汇总了C++中CGPSController::DeleteInstance方法的典型用法代码示例。如果您正苦于以下问题:C++ CGPSController::DeleteInstance方法的具体用法?C++ CGPSController::DeleteInstance怎么用?C++ CGPSController::DeleteInstance使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CGPSController
的用法示例。
在下文中一共展示了CGPSController::DeleteInstance方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: LOG
CHttpServer::~CHttpServer(void)
{
rho_sync_destroy();
shutdown_poll(ctx);
m_thread.RemoveHandle(m_hEvent);
m_thread.Shutdown();
shttpd_fini(ctx);
LOG(INFO) + "Http server thread shutdown";
#if defined(_WIN32_WCE)
CGPSController* pGPS = CGPSController::Instance();
pGPS->DeleteInstance();
#endif
if (m_pStartPage) {
free(m_pStartPage);
}
if (m_pOptionsPage) {
free(m_pOptionsPage);
}
#ifdef ENABLE_DYNAMIC_RHOBUNDLE
if ( m_szRhobundleReloadUrl )
free( m_szRhobundleReloadUrl );
#endif
}
示例2: RunMessageLoop
void CRhodesModule::RunMessageLoop( ) throw( )
{
#ifdef RHODES_EMULATOR
m_appWindow.MessageLoop();
#else
m_appWindow.getWebKitEngine()->RunMessageLoop(m_appWindow);
#endif
#if defined(OS_WINCE)&& !defined( OS_PLATFORM_MOTCE )
if (g_hNotify)
RegistryCloseNotification(g_hNotify);
if ( g_hNotifyCell )
RegistryCloseNotification(g_hNotifyCell);
CGPSController* pGPS = CGPSController::Instance();
pGPS->DeleteInstance();
#endif
rho_ringtone_manager_stop();
#if !defined(_WIN32_WCE)
rho_clientregister_destroy();
#endif
#ifdef RHODES_EMULATOR
m_appWindow.DestroyUi();
#endif
rho::common::CRhodesApp::Destroy();
net::CNetRequestImpl::deinitConnection();
}
示例3: RunMessageLoop
void CRhodesModule::RunMessageLoop( ) throw( )
{
m_appWindow.getWebKitEngine()->RunMessageLoop(m_appWindow);
#if defined(OS_WINCE)
if(RHO_IS_WMDEVICE)
{
if (g_hNotify)
lpfn_Registry_CloseNotification(g_hNotify);
if ( g_hNotifyCell )
lpfn_Registry_CloseNotification(g_hNotifyCell);
CGPSController* pGPS = CGPSController::Instance();
pGPS->DeleteInstance();
}
#endif
rho_ringtone_manager_stop();
rho::common::CRhodesApp::Destroy();
// ReleaseMutex(m_hMutex);
rho_platform_check_restart_application();
}
示例4: RunMessageLoop
void CRhodesModule::RunMessageLoop( ) throw( )
{
#if defined(OS_WINDOWS_DESKTOP)
m_appWindow.MessageLoop();
#else
m_appWindow.getWebKitEngine()->RunMessageLoop(m_appWindow);
#endif
#if defined(OS_WINCE)&& !defined( OS_PLATFORM_MOTCE )
if (g_hNotify)
RegistryCloseNotification(g_hNotify);
if ( g_hNotifyCell )
RegistryCloseNotification(g_hNotifyCell);
CGPSController* pGPS = CGPSController::Instance();
pGPS->DeleteInstance();
#endif
rho_ringtone_manager_stop();
//#if !defined(_WIN32_WCE)
// rho::sync::CClientRegister::Destroy();
//#endif
#if defined(OS_WINDOWS_DESKTOP)
m_appWindow.DestroyUi();
#endif
rho::common::CRhodesApp::Destroy();
// net::CNetRequestImpl::deinitConnection();
#if !defined(OS_WINDOWS_DESKTOP)
// ReleaseMutex(m_hMutex);
#endif
rho_platform_check_restart_application();
}