本文整理汇总了C++中LogFile::End方法的典型用法代码示例。如果您正苦于以下问题:C++ LogFile::End方法的具体用法?C++ LogFile::End怎么用?C++ LogFile::End使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类LogFile
的用法示例。
在下文中一共展示了LogFile::End方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: Suicide
bool Application::Suicide()
{
Sound.DeInit();
TestBuf.DeInit();
TestSource.DeInit();
rm.DEINIT();
#ifdef WIN32
if (Application::Vars.win.RC)
{ wglMakeCurrent(NULL, NULL); // This frees our rendering memory and sets everything back to normal
wglDeleteContext(Application::Vars.win.RC); // Delete our OpenGL Rendering Context
}
if (Application::Vars.win.DC) // Release our HDC from memory
ReleaseDC(Application::Vars.win.MHWnd, Application::Vars.win.DC);
if (IsFullScreen) // If we were in full screen
{ ChangeDisplaySettings(&Application::Vars.win.PrevDS,0); // If So Switch Back To The Desktop
ShowCursor(TRUE); // Show Mouse Pointer
}
DestroyWindow(MainApplication->Vars.win.MHWnd);
UnregisterClass(MY_WINDOW_CLASS_NAME, Application::Vars.App.HInstance);// Free the window class
#else
glXMakeCurrent ( dpy,win,NULL );
glXDestroyContext ( dpy, cx );
#endif
CCons.DEINIT();
delete Input::I;
LF.End(true);
CoUninitialize();
return NO_ERROR;
};