#pragma once #ifndef _WIN32 #define HASH_STRING_DO_NOT_IMPLEMENT #endif #include "v8datamodel/CacheableContentProvider.h" #include "GfxBase/Image.h" namespace RBX { extern const char* const sTextureContentProvider; class TextureContentProvider : public DescribedNonCreatable { typedef DescribedNonCreatable Super; boost::function mTextureAllocator; public: TextureContentProvider(); ~TextureContentProvider() {} void setTextureAllocator(boost::function textureAllocator); private: virtual TaskScheduler::StepResult ProcessTask(const std::string& id, shared_ptr data); virtual void updateContent(const std::string& id, boost::shared_ptr item); }; } // namespace RBX