mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-21 19:37:00 +00:00
Add all the files
This commit is contained in:
parent
e3db07a16a
commit
d60742f52b
1445 changed files with 430238 additions and 0 deletions
32
src/gui/helpers/wxLogEvent.h
Normal file
32
src/gui/helpers/wxLogEvent.h
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
#pragma once
|
||||
|
||||
#include <wx/event.h>
|
||||
|
||||
class wxLogEvent;
|
||||
wxDECLARE_EVENT(EVT_LOG, wxLogEvent);
|
||||
|
||||
class wxLogEvent : public wxCommandEvent
|
||||
{
|
||||
public:
|
||||
wxLogEvent(const wxString& filter, const wxString& message)
|
||||
: wxCommandEvent(EVT_LOG), m_filter(filter), m_message(message) { }
|
||||
|
||||
wxLogEvent(const wxLogEvent& event)
|
||||
: wxCommandEvent(event), m_filter(event.m_filter), m_message(event.m_message) { }
|
||||
|
||||
wxEvent* Clone() const { return new wxLogEvent(*this); }
|
||||
|
||||
[[nodiscard]] const wxString& GetFilter() const
|
||||
{
|
||||
return m_filter;
|
||||
}
|
||||
|
||||
[[nodiscard]] const wxString& GetMessage() const
|
||||
{
|
||||
return m_message;
|
||||
}
|
||||
|
||||
private:
|
||||
wxString m_filter;
|
||||
wxString m_message;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue