2015-08-17 20:33:58 +00:00
|
|
|
#ifndef __RETRO_CRESFACTORY_HPP__
|
|
|
|
#define __RETRO_CRESFACTORY_HPP__
|
|
|
|
|
2015-08-18 05:54:43 +00:00
|
|
|
#include "IFactory.hpp"
|
|
|
|
|
2015-08-17 22:05:00 +00:00
|
|
|
namespace Retro
|
|
|
|
{
|
|
|
|
|
2015-08-18 05:54:43 +00:00
|
|
|
class CResFactory : public IFactory
|
2015-08-17 20:33:58 +00:00
|
|
|
{
|
2015-08-22 01:58:41 +00:00
|
|
|
public:
|
|
|
|
void Build(const SObjectTag&, const CVParamTransfer&);
|
|
|
|
void BuildAsync(const SObjectTag&, const CVParamTransfer&, IObj**);
|
|
|
|
void CancelBuild(const SObjectTag&);
|
|
|
|
bool CanBuild(const SObjectTag&);
|
|
|
|
const SObjectTag& GetResourceIdByName(const char*) const;
|
2015-08-17 20:33:58 +00:00
|
|
|
};
|
|
|
|
|
2015-08-17 22:05:00 +00:00
|
|
|
}
|
|
|
|
|
2015-08-17 20:33:58 +00:00
|
|
|
#endif // __RETRO_CRESFACTORY_HPP__
|