| 1 |
#include "LSPEvent.h" |
| 2 |
|
| 3 |
wxDEFINE_EVENT(wxEVT_LSP_DEFINITION, LSPEvent); |
| 4 |
wxDEFINE_EVENT(wxEVT_LSP_INITIALIZED, LSPEvent); |
| 5 |
wxDEFINE_EVENT(wxEVT_LSP_COMPLETION_READY, LSPEvent); |
| 6 |
wxDEFINE_EVENT(wxEVT_LSP_RESTART_NEEDED, LSPEvent); |
| 7 |
wxDEFINE_EVENT(wxEVT_LSP_REPARSE_NEEDED, LSPEvent); |
| 8 |
wxDEFINE_EVENT(wxEVT_LSP_METHOD_NOT_FOUND, LSPEvent); |
| 9 |
wxDEFINE_EVENT(wxEVT_LSP_SIGNATURE_HELP, LSPEvent); |
| 10 |
wxDEFINE_EVENT(wxEVT_LSP_HOVER, LSPEvent); |
| 11 |
wxDEFINE_EVENT(wxEVT_LSP_SET_DIAGNOSTICS, LSPEvent); |
| 12 |
wxDEFINE_EVENT(wxEVT_LSP_CLEAR_DIAGNOSTICS, LSPEvent); |
| 13 |
wxDEFINE_EVENT(wxEVT_LSP_DOCUMENT_SYMBOLS_QUICK_OUTLINE, LSPEvent); |
| 14 |
wxDEFINE_EVENT(wxEVT_LSP_DOCUMENT_SYMBOLS_FOR_HIGHLIGHT, LSPEvent); |
| 15 |
wxDEFINE_EVENT(wxEVT_LSP_DOCUMENT_SYMBOLS_OUTLINE_VIEW, LSPEvent); |
| 16 |
wxDEFINE_EVENT(wxEVT_LSP_OPEN_FILE, LSPEvent); |
| 17 |
wxDEFINE_EVENT(wxEVT_LSP_SEMANTICS, LSPEvent); |
| 18 |
wxDEFINE_EVENT(wxEVT_LSP_LOGMESSAGE, LSPEvent); |
| 19 |
wxDEFINE_EVENT(wxEVT_LSP_WORKSPACE_SYMBOLS, LSPEvent); |
| 20 |
wxDEFINE_EVENT(wxEVT_LSP_SYMBOL_DECLARATION_FOUND, LSPEvent); |
| 21 |
wxDEFINE_EVENT(wxEVT_LSP_SHOW_QUICK_OUTLINE_DLG, LSPEvent); |
| 22 |
wxDEFINE_EVENT(wxEVT_LSP_REFERENCES, LSPEvent); |
| 23 |
wxDEFINE_EVENT(wxEVT_LSP_REFERENCES_INPROGRESS, LSPEvent); |
| 24 |
|
| 25 |
LSPEvent::LSPEvent(wxEventType commandType, int winid) |
| 26 |
: clCommandEvent(commandType, winid) |
| 27 |
{ |
| 28 |
} |
| 29 |
|
| 30 |
LSPEvent::LSPEvent(const LSPEvent& src) |
| 31 |
: clCommandEvent(src) |
| 32 |
{ |
| 33 |
*this = src; |
| 34 |
} |
| 35 |
|
| 36 |
LSPEvent& LSPEvent::operator=(const LSPEvent& other) |
| 37 |
{ |
| 38 |
clCommandEvent::operator=(other); |
| 39 |
m_location = other.m_location; |
| 40 |
m_serverName = other.m_serverName; |
| 41 |
m_completions = other.m_completions; |
| 42 |
m_signatureHelp = other.m_signatureHelp; |
| 43 |
m_hover = other.m_hover; |
| 44 |
m_diagnostics = other.m_diagnostics; |
| 45 |
m_symbolsInformation = other.m_symbolsInformation; |
| 46 |
m_semanticTokens = other.m_semanticTokens; |
| 47 |
m_logMessageSeverity = other.m_logMessageSeverity; |
| 48 |
m_locations = other.m_locations; |
| 49 |
return *this; |
| 50 |
} |
| 51 |
|
| 52 |
LSPEvent::~LSPEvent() {} |