give ConsoleListener a ctor to initialize vars

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2704 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman 2009-03-20 22:21:04 +00:00
parent 2c13aa0394
commit 46c0e5b659
2 changed files with 9 additions and 1 deletions

View File

@ -28,12 +28,19 @@
#include "LogManager.h" // Common
ConsoleListener::ConsoleListener()
{
#ifdef _WIN32
m_hStdOut = NULL;
#endif
}
ConsoleListener::~ConsoleListener()
{
Close();
}
//150, 100, "Dolphin Log Console"
//100, 100, "Dolphin Log Console"
// Open console window - width and height is the size of console window
// Name is the window title
void ConsoleListener::Open(int width, int height, char *title)

View File

@ -70,6 +70,7 @@ private:
class ConsoleListener : public LogListener
{
public:
ConsoleListener();
~ConsoleListener();
void Open(int Width = 100, int Height = 100,