Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a76b1c4915
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (20 sloc) 0.793 kb
#include <string>
#include <boost/shared_ptr.hpp>
#include <xscript/component.h>
#include <xscript/stat_builder.h>
namespace xscript {
class Stylesheet;
class StylesheetCache : public Component<StylesheetCache>, public StatBuilderHolder {
StylesheetCache() : StatBuilderHolder("stylesheet-cache") {
virtual void clear() = 0;
virtual void erase(const std::string &name) = 0;
virtual boost::shared_ptr<Stylesheet> fetch(const std::string &name) = 0;
virtual void store(const std::string &name, const boost::shared_ptr<Stylesheet> &stylesheet) = 0;
virtual boost::mutex* getMutex(const std::string &name) = 0;
} // namespace xscript
Jump to Line
Something went wrong with that request. Please try again.