aboutsummaryrefslogtreecommitdiff
path: root/Gem/develop
diff options
context:
space:
mode:
Diffstat (limited to 'Gem/develop')
-rw-r--r--Gem/develop/include/Gem/RTE/RTE.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Gem/develop/include/Gem/RTE/RTE.h b/Gem/develop/include/Gem/RTE/RTE.h
index bbcad94..18e2a93 100644
--- a/Gem/develop/include/Gem/RTE/RTE.h
+++ b/Gem/develop/include/Gem/RTE/RTE.h
@@ -43,13 +43,19 @@ namespace gem {
* resolve a function-name in the current RTE
* @return pointer to the function named 'name', or NULL if it doesn't exist
*/
- virtual void*getFunction(const std::string&name);
+ virtual void*getFunction(const std::string&name) const;
/**
* find a file in the given context(canvas), searching RTEs search paths
* @return expanded filename
*/
virtual std::string findFile(const std::string&name, const std::string&ext, const void*context) const;
+
+ /**
+ * add 'path' to the search-paths (if context==NULL, to the global search path)
+ * @return expanded filename
+ */
+ virtual bool addSearchPath(const std::string&path, void*context);
};
};
};