mirror of https://github.com/axmolengine/axmol.git
Set macro CC_DEPRECATED_ATTRIBUTE for method purge() for all Reader.
This commit is contained in:
parent
71fd476355
commit
91acd6aea9
|
@ -214,10 +214,6 @@ CSLoader::CSLoader()
|
|||
CREATE_CLASS_NODE_READER_INFO(Particle3DReader);
|
||||
}
|
||||
|
||||
void CSLoader::purge()
|
||||
{
|
||||
}
|
||||
|
||||
void CSLoader::destroyCocosStudio()
|
||||
{
|
||||
NodeReader::destroyInstance();
|
||||
|
|
|
@ -72,7 +72,8 @@ public:
|
|||
static void destroyInstance();
|
||||
|
||||
CSLoader();
|
||||
void purge();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE void purge();
|
||||
|
||||
static void destroyCocosStudio();
|
||||
|
||||
|
|
|
@ -91,6 +91,8 @@ class CC_STUDIO_DLL FlatBuffersSerialize
|
|||
|
||||
public:
|
||||
static FlatBuffersSerialize* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
FlatBuffersSerialize();
|
||||
|
|
|
@ -50,6 +50,8 @@ public:
|
|||
~ArmatureNodeReader();
|
||||
|
||||
static ArmatureNodeReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
flatbuffers::Offset<flatbuffers::Table> createOptionsWithFlatBuffers(const tinyxml2::XMLElement* objectData,
|
||||
|
|
|
@ -39,6 +39,8 @@ namespace cocostudio
|
|||
virtual ~ButtonReader();
|
||||
|
||||
static ButtonReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
virtual void setPropsFromJsonDictionary(cocos2d::ui::Widget* widget,
|
||||
|
|
|
@ -39,6 +39,8 @@ namespace cocostudio
|
|||
virtual ~CheckBoxReader();
|
||||
|
||||
static CheckBoxReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
virtual void setPropsFromJsonDictionary(cocos2d::ui::Widget* widget, const rapidjson::Value& options);
|
||||
|
|
|
@ -40,6 +40,8 @@ namespace cocostudio
|
|||
~ComAudioReader();
|
||||
|
||||
static ComAudioReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
flatbuffers::Offset<flatbuffers::Table> createOptionsWithFlatBuffers(const tinyxml2::XMLElement* objectData,
|
||||
|
|
|
@ -42,6 +42,8 @@ namespace cocostudio
|
|||
~GameMapReader();
|
||||
|
||||
static GameMapReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
flatbuffers::Offset<flatbuffers::Table> createOptionsWithFlatBuffers(const tinyxml2::XMLElement* objectData,
|
||||
|
|
|
@ -41,6 +41,8 @@ namespace cocostudio
|
|||
virtual ~ImageViewReader();
|
||||
|
||||
static ImageViewReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
virtual void setPropsFromJsonDictionary(cocos2d::ui::Widget* widget, const rapidjson::Value& options);
|
||||
|
|
|
@ -40,6 +40,8 @@ namespace cocostudio
|
|||
virtual ~LayoutReader();
|
||||
|
||||
static LayoutReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
virtual void setPropsFromJsonDictionary(cocos2d::ui::Widget* widget, const rapidjson::Value& options);
|
||||
|
|
|
@ -39,6 +39,8 @@ namespace cocostudio
|
|||
virtual ~ListViewReader();
|
||||
|
||||
static ListViewReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
virtual void setPropsFromJsonDictionary(cocos2d::ui::Widget* widget, const rapidjson::Value& options);
|
||||
|
|
|
@ -39,6 +39,8 @@ namespace cocostudio
|
|||
virtual ~LoadingBarReader();
|
||||
|
||||
static LoadingBarReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
virtual void setPropsFromJsonDictionary(cocos2d::ui::Widget* widget, const rapidjson::Value& options);
|
||||
|
|
|
@ -46,6 +46,8 @@ namespace cocostudio
|
|||
~Node3DReader();
|
||||
|
||||
static Node3DReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
flatbuffers::Offset<flatbuffers::Table> createOptionsWithFlatBuffers(const tinyxml2::XMLElement* objectData,
|
||||
|
|
|
@ -41,6 +41,8 @@ namespace cocostudio
|
|||
~NodeReader();
|
||||
|
||||
static NodeReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
flatbuffers::Offset<flatbuffers::Table> createOptionsWithFlatBuffers(const tinyxml2::XMLElement* objectData,
|
||||
|
|
|
@ -39,6 +39,8 @@ namespace cocostudio
|
|||
virtual ~PageViewReader();
|
||||
|
||||
static PageViewReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
virtual void setPropsFromJsonDictionary(cocos2d::ui::Widget* widget, const rapidjson::Value& options);
|
||||
|
|
|
@ -41,6 +41,8 @@ namespace cocostudio
|
|||
~Particle3DReader();
|
||||
|
||||
static Particle3DReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
flatbuffers::Offset<flatbuffers::Table> createOptionsWithFlatBuffers(const tinyxml2::XMLElement* objectData,
|
||||
|
|
|
@ -42,6 +42,8 @@ namespace cocostudio
|
|||
~ParticleReader();
|
||||
|
||||
static ParticleReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
flatbuffers::Offset<flatbuffers::Table> createOptionsWithFlatBuffers(const tinyxml2::XMLElement* objectData,
|
||||
|
|
|
@ -40,6 +40,8 @@ namespace cocostudio
|
|||
~ProjectNodeReader();
|
||||
|
||||
static ProjectNodeReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
flatbuffers::Offset<flatbuffers::Table> createOptionsWithFlatBuffers(const tinyxml2::XMLElement* objectData,
|
||||
|
|
|
@ -39,6 +39,8 @@ namespace cocostudio
|
|||
virtual ~ScrollViewReader();
|
||||
|
||||
static ScrollViewReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
virtual void setPropsFromJsonDictionary(cocos2d::ui::Widget* widget, const rapidjson::Value& options);
|
||||
|
|
|
@ -42,6 +42,8 @@ namespace cocostudio
|
|||
~SingleNodeReader();
|
||||
|
||||
static SingleNodeReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
flatbuffers::Offset<flatbuffers::Table> createOptionsWithFlatBuffers(const tinyxml2::XMLElement* objectData,
|
||||
|
|
|
@ -39,6 +39,8 @@ namespace cocostudio
|
|||
virtual ~SliderReader();
|
||||
|
||||
static SliderReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
virtual void setPropsFromJsonDictionary(cocos2d::ui::Widget* widget, const rapidjson::Value& options);
|
||||
|
|
|
@ -46,6 +46,8 @@ namespace cocostudio
|
|||
~Sprite3DReader();
|
||||
|
||||
static Sprite3DReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
flatbuffers::Offset<flatbuffers::Table> createOptionsWithFlatBuffers(const tinyxml2::XMLElement* objectData,
|
||||
|
|
|
@ -42,6 +42,8 @@ namespace cocostudio
|
|||
~SpriteReader();
|
||||
|
||||
static SpriteReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
flatbuffers::Offset<flatbuffers::Table> createOptionsWithFlatBuffers(const tinyxml2::XMLElement* objectData,
|
||||
|
|
|
@ -39,6 +39,8 @@ namespace cocostudio
|
|||
virtual ~TextAtlasReader();
|
||||
|
||||
static TextAtlasReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
virtual void setPropsFromJsonDictionary(cocos2d::ui::Widget* widget, const rapidjson::Value& options);
|
||||
|
|
|
@ -39,6 +39,8 @@ namespace cocostudio
|
|||
virtual ~TextBMFontReader();
|
||||
|
||||
static TextBMFontReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
virtual void setPropsFromJsonDictionary(cocos2d::ui::Widget* widget, const rapidjson::Value& options);
|
||||
|
|
|
@ -39,6 +39,8 @@ namespace cocostudio
|
|||
virtual ~TextFieldReader();
|
||||
|
||||
static TextFieldReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
virtual void setPropsFromJsonDictionary(cocos2d::ui::Widget* widget, const rapidjson::Value& options);
|
||||
|
|
|
@ -39,6 +39,8 @@ namespace cocostudio
|
|||
virtual ~TextReader();
|
||||
|
||||
static TextReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
virtual void setPropsFromJsonDictionary(cocos2d::ui::Widget* widget, const rapidjson::Value& options);
|
||||
|
|
|
@ -46,6 +46,8 @@ namespace cocostudio
|
|||
~UserCameraReader();
|
||||
|
||||
static UserCameraReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
flatbuffers::Offset<flatbuffers::Table> createOptionsWithFlatBuffers(const tinyxml2::XMLElement* objectData,
|
||||
|
|
|
@ -46,6 +46,8 @@ namespace cocostudio
|
|||
virtual ~WidgetReader();
|
||||
|
||||
static WidgetReader* getInstance();
|
||||
/** @deprecated Use method destroyInstance() instead */
|
||||
CC_DEPRECATED_ATTRIBUTE static void purge();
|
||||
static void destroyInstance();
|
||||
|
||||
virtual void setPropsFromJsonDictionary(cocos2d::ui::Widget* widget,
|
||||
|
|
Loading…
Reference in New Issue