Added Git data models.

Small base Model clean up.
This commit is contained in:
Martín Lucas Golini
2024-01-13 12:56:00 -03:00
parent d5322b7615
commit 697fc29514
16 changed files with 96 additions and 42 deletions

View File

@@ -58,8 +58,6 @@ class LSPLocationModel : public Model {
return {};
}
void update() override { onModelUpdate(); }
protected:
struct Location {
LSPLocation loc;
@@ -108,8 +106,6 @@ class LSPCodeActionModel : public Model {
bool hasCodeActions() const { return !mCodeActions.empty(); }
void update() override { onModelUpdate(); }
const LSPCodeAction& getCodeAction( size_t row ) const { return mCodeActions[row]; }
protected: