Small cleanup. Moved some declarations to a header file.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@756 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
2c78946797
commit
e8e8caea8f
|
@ -16,6 +16,7 @@
|
|||
// http://code.google.com/p/dolphin-emu/
|
||||
|
||||
|
||||
void startConsoleWin(int width, int height, char* fname);
|
||||
int wprintf(char *fmt, ...);
|
||||
void ClearScreen();
|
||||
void OpenConsole();
|
||||
|
@ -23,4 +24,4 @@ void CloseConsole();
|
|||
|
||||
#ifdef _WIN32
|
||||
HWND GetConsoleHwnd(void);
|
||||
#endif
|
||||
#endif
|
|
@ -15,6 +15,7 @@
|
|||
// Official SVN repository and contact information can be found at
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
|
||||
|
||||
// =======================================================================================
|
||||
// Includes
|
||||
// ------------------
|
||||
|
@ -36,6 +37,7 @@
|
|||
#include "Config.h"
|
||||
|
||||
#include "Debugger/Debugger.h" // for the CDebugger class
|
||||
#include "Logging/Console.h" // for startConsoleWin, wprintf, GetConsoleHwnd
|
||||
// ===================
|
||||
|
||||
|
||||
|
@ -125,11 +127,8 @@ BOOL APIENTRY DllMain(HINSTANCE hinstDLL, // DLL module handle
|
|||
|
||||
|
||||
// =======================================================================================
|
||||
// Open close console
|
||||
HWND GetConsoleHwnd(void);
|
||||
void startConsoleWin(int width, int height, char* fname);
|
||||
int wprintf(char *fmt, ...);
|
||||
// ---------------------------------------------------------------------------------------
|
||||
// Open and close console
|
||||
// -------------------
|
||||
void OpenConsole()
|
||||
{
|
||||
#if defined (_WIN32)
|
||||
|
@ -146,7 +145,7 @@ void CloseConsole()
|
|||
FreeConsole();
|
||||
#endif
|
||||
}
|
||||
// =======================================================================================
|
||||
// ===================
|
||||
|
||||
|
||||
// =======================================================================================
|
||||
|
|
Loading…
Reference in New Issue