summaryrefslogtreecommitdiff
path: root/project2/common/scriptLoader.h
diff options
context:
space:
mode:
Diffstat (limited to 'project2/common/scriptLoader.h')
-rw-r--r--project2/common/scriptLoader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/project2/common/scriptLoader.h b/project2/common/scriptLoader.h
index 2582a52..2b1057b 100644
--- a/project2/common/scriptLoader.h
+++ b/project2/common/scriptLoader.h
@@ -131,6 +131,7 @@ class ComponentLoader {
virtual void onPeriodic(); // When the app engine feels like it
virtual void onConfigLoad(); // When the environment reloads the configuration
virtual const Options * options() const; // Options to be populated from the common config file/env/etc
+ virtual bool cacheable() const { return true; } // The component can be cached for next run
};
template <class Impl, typename... Params>