| 1 |
#ifndef GOTOIMPLEMENTATIONREQUEST_H |
| 2 |
#define GOTOIMPLEMENTATIONREQUEST_H |
| 3 |
|
| 4 |
#include "IPathConverter.hpp" |
| 5 |
#include "LSP/Request.h" |
| 6 |
#include <wx/filename.h> |
| 7 |
|
| 8 |
namespace LSP |
| 9 |
{ |
| 10 |
class WXDLLIMPEXP_CL GotoImplementationRequest : public Request |
| 11 |
{ |
| 12 |
wxString m_filename; |
| 13 |
size_t m_line = 0; |
| 14 |
size_t m_column = 0; |
| 15 |
|
| 16 |
public: |
| 17 |
explicit GotoImplementationRequest(const wxString& filename, size_t line, size_t column); |
| 18 |
virtual ~GotoImplementationRequest(); |
| 19 |
|
| 20 |
void OnResponse(const LSP::ResponseMessage& response, wxEvtHandler* owner); |
| 21 |
bool IsPositionDependantRequest() const { return true; } |
| 22 |
bool IsValidAt(const wxString& filename, size_t line, size_t col) const; |
| 23 |
}; |
| 24 |
}; // namespace LSP |
| 25 |
#endif // GOTOIMPLEMENTATIONREQUEST_H |