| 1 |
#ifndef COMPLETIONREQUEST_H |
| 2 |
#define COMPLETIONREQUEST_H |
| 3 |
|
| 4 |
#include "LSP/Request.h" |
| 5 |
#include "LSP/basic_types.h" |
| 6 |
|
| 7 |
namespace LSP |
| 8 |
{ |
| 9 |
|
| 10 |
class WXDLLIMPEXP_CL CompletionRequest : public LSP::Request |
| 11 |
{ |
| 12 |
public: |
| 13 |
CompletionRequest(const LSP::TextDocumentIdentifier& textDocument, const LSP::Position& position); |
| 14 |
virtual ~CompletionRequest(); |
| 15 |
void OnResponse(const LSP::ResponseMessage& response, wxEvtHandler* owner); |
| 16 |
bool IsPositionDependantRequest() const { return true; } |
| 17 |
bool IsValidAt(const wxString& filename, size_t line, size_t col) const; |
| 18 |
}; |
| 19 |
}; // namespace LSP |
| 20 |
#endif // COMPLETIONREQUEST_H |