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:
John Peterson 2008-10-03 11:24:04 +00:00
parent 2c78946797
commit e8e8caea8f
2 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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
}
// =======================================================================================
// ===================
// =======================================================================================