void CCEGLView::end() { IW_CALLSTACK("CCEGLView::end"); if (m_isMultiTouch) { s3ePointerUnRegister(S3E_POINTER_TOUCH_EVENT, &MultiTouchEventHandler); s3ePointerUnRegister(S3E_POINTER_TOUCH_MOTION_EVENT, &MultiMotionEventHandler); } else { s3ePointerUnRegister(S3E_POINTER_BUTTON_EVENT, &TouchEventHandler); s3ePointerUnRegister(S3E_POINTER_MOTION_EVENT, &MotionEventHandler); } // s3eKeyboardUnRegister(S3E_KEYBOARD_KEY_EVENT, &KeyEventHandler); // s3eKeyboardUnRegister(S3E_KEYBOARD_KEY_EVENT, &CharEventHandler); if (IwGLIsInitialised()) IwGLTerminate(); s3eDeviceRequestQuit() ; delete this; }
void requestQuit() { #ifdef __S3E__ s3eDeviceRequestQuit(); #endif #ifdef OXYGINE_SDL SDL_Event ev; ev.type = SDL_QUIT; SDL_PushEvent(&ev); #endif }
//------------------------------------------------------------------------------ void QSystem::quit() { #ifdef MARMALADE s3eDeviceRequestQuit(); #endif }