From e8e8caea8f697d599e02d443b945ad4def0b74a4 Mon Sep 17 00:00:00 2001 From: John Peterson Date: Fri, 3 Oct 2008 11:24:04 +0000 Subject: [PATCH] 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 --- Source/Plugins/Plugin_DSP_HLE/Src/Logging/Console.h | 3 ++- Source/Plugins/Plugin_DSP_HLE/Src/main.cpp | 11 +++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/Plugins/Plugin_DSP_HLE/Src/Logging/Console.h b/Source/Plugins/Plugin_DSP_HLE/Src/Logging/Console.h index 4d8416e147..ab4c900d66 100644 --- a/Source/Plugins/Plugin_DSP_HLE/Src/Logging/Console.h +++ b/Source/Plugins/Plugin_DSP_HLE/Src/Logging/Console.h @@ -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 \ No newline at end of file diff --git a/Source/Plugins/Plugin_DSP_HLE/Src/main.cpp b/Source/Plugins/Plugin_DSP_HLE/Src/main.cpp index 6d5585d9a6..a76c2fc5ed 100644 --- a/Source/Plugins/Plugin_DSP_HLE/Src/main.cpp +++ b/Source/Plugins/Plugin_DSP_HLE/Src/main.cpp @@ -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 } -// ======================================================================================= +// =================== // =======================================================================================