2018-01-29 16:25:32 +08:00
|
|
|
/****************************************************************************
|
|
|
|
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
|
|
|
|
|
|
|
|
http://www.cocos2d-x.org
|
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
|
|
in the Software without restriction, including without limitation the rights
|
|
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
|
|
all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
|
THE SOFTWARE.
|
|
|
|
****************************************************************************/
|
|
|
|
|
2015-03-31 19:55:56 +08:00
|
|
|
|
2016-03-20 21:53:44 +08:00
|
|
|
#include "editor-support/cocostudio/CocoStudio.h"
|
2015-03-31 19:55:56 +08:00
|
|
|
|
2016-03-20 21:53:44 +08:00
|
|
|
#include "editor-support/cocostudio/WidgetReader/NodeReader/NodeReader.h"
|
|
|
|
#include "editor-support/cocostudio/WidgetReader/SingleNodeReader/SingleNodeReader.h"
|
|
|
|
#include "editor-support/cocostudio/WidgetReader/SpriteReader/SpriteReader.h"
|
|
|
|
#include "editor-support/cocostudio/WidgetReader/ParticleReader/ParticleReader.h"
|
|
|
|
#include "editor-support/cocostudio/WidgetReader/GameMapReader/GameMapReader.h"
|
|
|
|
#include "editor-support/cocostudio/WidgetReader/ProjectNodeReader/ProjectNodeReader.h"
|
|
|
|
#include "editor-support/cocostudio/WidgetReader/ComAudioReader/ComAudioReader.h"
|
2015-03-31 19:55:56 +08:00
|
|
|
|
2016-03-20 21:53:44 +08:00
|
|
|
#include "editor-support/cocostudio/WidgetReader/ButtonReader/ButtonReader.h"
|
|
|
|
#include "editor-support/cocostudio/WidgetReader/CheckBoxReader/CheckBoxReader.h"
|
|
|
|
#include "editor-support/cocostudio/WidgetReader/ImageViewReader/ImageViewReader.h"
|
|
|
|
#include "editor-support/cocostudio/WidgetReader/TextBMFontReader/TextBMFontReader.h"
|
|
|
|
#include "editor-support/cocostudio/WidgetReader/TextReader/TextReader.h"
|
|
|
|
#include "editor-support/cocostudio/WidgetReader/TextFieldReader/TextFieldReader.h"
|
|
|
|
#include "editor-support/cocostudio/WidgetReader/TextAtlasReader/TextAtlasReader.h"
|
|
|
|
#include "editor-support/cocostudio/WidgetReader/LoadingBarReader/LoadingBarReader.h"
|
|
|
|
#include "editor-support/cocostudio/WidgetReader/SliderReader/SliderReader.h"
|
|
|
|
#include "editor-support/cocostudio/WidgetReader/LayoutReader/LayoutReader.h"
|
|
|
|
#include "editor-support/cocostudio/WidgetReader/ScrollViewReader/ScrollViewReader.h"
|
|
|
|
#include "editor-support/cocostudio/WidgetReader/PageViewReader/PageViewReader.h"
|
|
|
|
#include "editor-support/cocostudio/WidgetReader/ListViewReader/ListViewReader.h"
|
|
|
|
#include "editor-support/cocostudio/WidgetReader/ArmatureNodeReader/ArmatureNodeReader.h"
|
|
|
|
#include "editor-support/cocostudio/WidgetReader/Node3DReader/Node3DReader.h"
|
|
|
|
#include "editor-support/cocostudio/WidgetReader/Sprite3DReader/Sprite3DReader.h"
|
|
|
|
#include "editor-support/cocostudio/WidgetReader/UserCameraReader/UserCameraReader.h"
|
|
|
|
#include "editor-support/cocostudio/WidgetReader/Particle3DReader/Particle3DReader.h"
|
2015-03-31 19:55:56 +08:00
|
|
|
|
|
|
|
|
|
|
|
namespace cocostudio
|
|
|
|
{
|
|
|
|
void destroyCocosStudio()
|
|
|
|
{
|
|
|
|
NodeReader::destroyInstance();
|
|
|
|
SingleNodeReader::destroyInstance();
|
|
|
|
SpriteReader::destroyInstance();
|
|
|
|
ParticleReader::destroyInstance();
|
|
|
|
GameMapReader::destroyInstance();
|
|
|
|
ProjectNodeReader::destroyInstance();
|
|
|
|
ComAudioReader::destroyInstance();
|
|
|
|
|
|
|
|
WidgetReader::destroyInstance();
|
|
|
|
ButtonReader::destroyInstance();
|
|
|
|
CheckBoxReader::destroyInstance();
|
|
|
|
ImageViewReader::destroyInstance();
|
|
|
|
TextBMFontReader::destroyInstance();
|
|
|
|
TextReader::destroyInstance();
|
|
|
|
TextFieldReader::destroyInstance();
|
|
|
|
TextAtlasReader::destroyInstance();
|
|
|
|
LoadingBarReader::destroyInstance();
|
|
|
|
SliderReader::destroyInstance();
|
|
|
|
LayoutReader::destroyInstance();
|
|
|
|
ScrollViewReader::destroyInstance();
|
|
|
|
PageViewReader::destroyInstance();
|
|
|
|
ListViewReader::destroyInstance();
|
|
|
|
|
|
|
|
ArmatureNodeReader::destroyInstance();
|
|
|
|
Node3DReader::destroyInstance();
|
|
|
|
Sprite3DReader::destroyInstance();
|
|
|
|
UserCameraReader::destroyInstance();
|
|
|
|
Particle3DReader::destroyInstance();
|
|
|
|
|
|
|
|
cocos2d::CSLoader::destroyInstance();
|
2015-04-01 14:08:09 +08:00
|
|
|
|
|
|
|
|
|
|
|
ArmatureDataManager::destroyInstance();
|
|
|
|
SceneReader::destroyInstance();
|
|
|
|
ActionManagerEx::destroyInstance();
|
|
|
|
GUIReader::destroyInstance();
|
2015-03-31 19:55:56 +08:00
|
|
|
}
|
|
|
|
}
|