rpcsx/rpcs3/Gui/ConLogFrame.h
Peter Tissen 21da317453 Logging system rework
* use one central unified log with channels/priorities ad-hoc listener registration and de-registration
* disable buffering by default
* add multi-threaded ringbuffer implementation
* use buffered listener for the gui (using the ringbuffer)
2014-06-26 17:34:28 +02:00

26 lines
405 B
C++

#pragma once
#include "Utilities/Log.h"
class LogFrame
: public wxPanel
{
std::shared_ptr<Log::LogListener> listener;
wxAuiNotebook m_tabs;
wxTextCtrl *m_log;
wxTextCtrl *m_tty;
public:
LogFrame(wxWindow* parent);
LogFrame(LogFrame &other) = delete;
~LogFrame();
bool Close(bool force = false);
private:
virtual void Task(){};
void OnQuit(wxCloseEvent& event);
DECLARE_EVENT_TABLE();
};