aboutsummaryrefslogtreecommitdiff
path: root/core/script_language.h
diff options
context:
space:
mode:
authorJuan Linietsky2015-06-26 01:14:31 -0300
committerJuan Linietsky2015-06-26 01:14:49 -0300
commita67486a39ee629acac068a6d014015944cf83bb3 (patch)
treeb101b6b94481d1ac074f917620a9545f9e516089 /core/script_language.h
parent71cc2561c63b2b2bc692e370acbc8bb57f031567 (diff)
downloadgodot-a67486a39ee629acac068a6d014015944cf83bb3.tar.gz
godot-a67486a39ee629acac068a6d014015944cf83bb3.tar.zst
godot-a67486a39ee629acac068a6d014015944cf83bb3.zip
Diffstat (limited to 'core/script_language.h')
-rw-r--r--core/script_language.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/script_language.h b/core/script_language.h
index c1b906e25..7104fe454 100644
--- a/core/script_language.h
+++ b/core/script_language.h
@@ -126,6 +126,19 @@ public:
virtual ~ScriptInstance();
};
+class ScriptCodeCompletionCache {
+
+ static ScriptCodeCompletionCache *singleton;
+public:
+
+ virtual RES get_cached_resource(const String& p_path)=0;
+
+ static ScriptCodeCompletionCache* get_sigleton() { return singleton; }
+
+ ScriptCodeCompletionCache();
+
+};
+
class ScriptLanguage {
public: