|
@@ -45,6 +45,7 @@
|
|
|
#include "PropertyParserColour.h"
|
|
#include "PropertyParserColour.h"
|
|
|
#include "StreamFile.h"
|
|
#include "StreamFile.h"
|
|
|
#include "StyleSheetFactory.h"
|
|
#include "StyleSheetFactory.h"
|
|
|
|
|
+#include "TemplateCache.h"
|
|
|
#include "XMLNodeHandlerBody.h"
|
|
#include "XMLNodeHandlerBody.h"
|
|
|
#include "XMLNodeHandlerDefault.h"
|
|
#include "XMLNodeHandlerDefault.h"
|
|
|
#include "XMLNodeHandlerHead.h"
|
|
#include "XMLNodeHandlerHead.h"
|
|
@@ -530,6 +531,12 @@ void Factory::ClearStyleSheetCache()
|
|
|
StyleSheetFactory::ClearStyleSheetCache();
|
|
StyleSheetFactory::ClearStyleSheetCache();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+/// Clears the template cache. This will force templates to be reloaded.
|
|
|
|
|
+void Factory::ClearTemplateCache()
|
|
|
|
|
+{
|
|
|
|
|
+ TemplateCache::Clear();
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
// Registers an instancer for all RKTEvents
|
|
// Registers an instancer for all RKTEvents
|
|
|
EventInstancer* Factory::RegisterEventInstancer(EventInstancer* instancer)
|
|
EventInstancer* Factory::RegisterEventInstancer(EventInstancer* instancer)
|
|
|
{
|
|
{
|