*/
~ResourceLoader();
- /**
- * Check if the ResourceLoader is terminating
- * @return true if terminating else false
- */
- bool IsTerminating();
-
- /**
- * Add a completely loaded resource to the LoadedResource queue
- * @param[in] resource The resource's information and data
- */
- void AddLoadedResource(LoadedResource& resource);
-
- /**
- * Add information about a failed resource load to the FailedLoads queue
- * @param[in] resource The failed resource's information
- */
- void AddFailedLoad(FailedResource& resource);
-
// From PlatformAbstraction
/**
- * @copydoc SlpPlatformAbstraction::LoadFile()
- */
- bool LoadFile( const std::string& filename, std::vector< unsigned char >& buffer ) const;
- bool LoadFile( const std::string& filename, Dali::Vector< unsigned char >& buffer ) const;
-
- /**
- * @copydoc TizenPlatformAbstraction::LoadFile()
- */
- std::string LoadFile(const std::string& filename) const;
-
- /**
* @copydoc TizenPlatformAbstraction::SaveFile()
*/
static bool SaveFile( const std::string& filename, const unsigned char * buffer, unsigned int numBytes );
private:
-
// Undefined
ResourceLoader( const ResourceLoader& resourceLoader );
ResourceLoader& operator=( const ResourceLoader& resourceLoader );
private:
- struct ResourceLoaderImpl;
- ResourceLoaderImpl* mImpl;
-
- volatile int mTerminateThread; ///< Set to <> 0 in destructor, signals threads to exit their controlling loops
};