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:
parent
2c13aa0394
commit
46c0e5b659
|
@ -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)
|
||||
|
|
|
@ -70,6 +70,7 @@ private:
|
|||
class ConsoleListener : public LogListener
|
||||
{
|
||||
public:
|
||||
ConsoleListener();
|
||||
~ConsoleListener();
|
||||
|
||||
void Open(int Width = 100, int Height = 100,
|
||||
|
|
Loading…
Reference in New Issue