summaryrefslogtreecommitdiff
path: root/src/modinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modinfo.h')
-rw-r--r--src/modinfo.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/modinfo.h b/src/modinfo.h
index 59030350..71c8de55 100644
--- a/src/modinfo.h
+++ b/src/modinfo.h
@@ -283,6 +283,11 @@ public:
virtual void endorse(bool doEndorse) = 0;
/**
+ * @brief clear all caches held for this mod
+ */
+ virtual void clearCaches() {}
+
+ /**
* @brief getter for the mod name
*
* @return the mod name
@@ -634,6 +639,11 @@ public:
virtual void endorse(bool doEndorse);
/**
+ * @brief clear all caches held for this mod
+ */
+ virtual void clearCaches();
+
+ /**
* @brief getter for the mod name
*
* @return the mod name