summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGUI')
-rw-r--r--Userland/Libraries/LibGUI/AutocompleteProvider.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/AutocompleteProvider.h b/Userland/Libraries/LibGUI/AutocompleteProvider.h
index 2794a3b37d..3c7fa4cc76 100644
--- a/Userland/Libraries/LibGUI/AutocompleteProvider.h
+++ b/Userland/Libraries/LibGUI/AutocompleteProvider.h
@@ -62,9 +62,17 @@ public:
size_t column { 0 };
};
+ enum class DeclarationType {
+ Function,
+ Struct,
+ Class,
+ Variable
+ };
+
struct Declaration {
String name;
ProjectLocation position;
+ DeclarationType type;
};
virtual void provide_completions(Function<void(Vector<Entry>)>) = 0;