Add new line at the end of a file to *.cpp

This commit is contained in:
gin0606 2014-06-19 20:45:24 +09:00
parent b042f28ccd
commit bf4f30d14b
61 changed files with 61 additions and 61 deletions

View File

@ -201,4 +201,4 @@ Animation* Animation::clone() const
return a;
}
NS_CC_END
NS_CC_END

View File

@ -237,4 +237,4 @@ void AnimationCache::addAnimationsWithFile(const std::string& plist)
}
NS_CC_END
NS_CC_END

View File

@ -160,4 +160,4 @@ FontAtlas * FontCharMap::createFontAtlas()
return tempAtlas;
}
NS_CC_END
NS_CC_END

View File

@ -212,4 +212,4 @@ void MediaStreamer::Restart()
ThrowIfFailed(
m_reader->SetCurrentPosition(GUID_NULL, var)
);
}
}

View File

@ -213,4 +213,4 @@ void MediaStreamer::ReadAll(uint8* buffer, uint32 maxBufferSize, uint32* bufferL
void MediaStreamer::Restart()
{
m_offset = 0;
}
}

View File

@ -39,4 +39,4 @@ _widgetGetFocus(widgetGetFocus)
NS_CC_END
NS_CC_END

View File

@ -95,4 +95,4 @@ bool EventListenerFocus::checkAvailable()
NS_CC_END
NS_CC_END

View File

@ -109,4 +109,4 @@ bool EventListenerMouse::init()
return false;
}
NS_CC_END
NS_CC_END

View File

@ -187,4 +187,4 @@ EventListenerTouchAllAtOnce* EventListenerTouchAllAtOnce::clone()
return ret;
}
NS_CC_END
NS_CC_END

View File

@ -38,4 +38,4 @@ EventMouse::EventMouse(MouseEventType mouseEventCode)
{
};
NS_CC_END
NS_CC_END

View File

@ -70,4 +70,4 @@ Vec2 Touch::getDelta() const
return getLocation() - getPreviousLocation();
}
NS_CC_END
NS_CC_END

View File

@ -86,4 +86,4 @@ void CCBSequence::setChainedSequenceId(int nChainedSequenceId)
mChainedSequenceId = nChainedSequenceId;
}
}
}

View File

@ -114,4 +114,4 @@ void ControlButtonLoader::onHandlePropTypeColor3(Node * pNode, Node * pParent, c
}
}
};
};

View File

@ -27,4 +27,4 @@ void ControlLoader::onHandlePropTypeBlockControl(Node * pNode, Node * pParent, c
}
}
}
}

View File

@ -50,4 +50,4 @@ void LabelBMFontLoader::onHandlePropTypeText(Node * pNode, Node * pParent, const
}
}
}
}

View File

@ -80,4 +80,4 @@ void LabelTTFLoader::onHandlePropTypeSize(Node * pNode, Node * pParent, const ch
}
}
}
}

View File

@ -32,4 +32,4 @@ void LayerColorLoader::onHandlePropTypeBlendFunc(Node * pNode, Node * pParent, c
}
}
}
}

View File

@ -42,4 +42,4 @@ void LayerLoader::onHandlePropTypeCheck(Node * pNode, Node * pParent, const char
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
#elif _MSC_VER >= 1400 //vs 2005 or higher
#pragma warning (pop)
#endif
#endif

View File

@ -27,4 +27,4 @@ void MenuItemLoader::onHandlePropTypeCheck(Node * pNode, Node * pParent, const c
}
}
}
}

View File

@ -102,4 +102,4 @@ NodeLoaderLibrary * NodeLoaderLibrary::newDefaultNodeLoaderLibrary() {
return ccNodeLoaderLibrary;
}
}
}

View File

@ -137,4 +137,4 @@ void ParticleSystemQuadLoader::onHandlePropTypeTexture(Node * pNode, Node * pPar
}
}
}
}

View File

@ -54,4 +54,4 @@ void ScrollViewLoader::onHandlePropTypeIntegerLabeled(Node * pNode, Node * pPare
}
}
}
}

View File

@ -373,4 +373,4 @@ ActionInterval* ActionTintFrame::getAction(float fDuration)
}
}
}

View File

@ -188,4 +188,4 @@ float ActionFrameEasing::easeValue(float t)
return 0;
}
}
}

View File

@ -222,4 +222,4 @@ void ActionObject::simulationActionUpdate(float dt)
}
}
}
}
}

View File

@ -224,4 +224,4 @@ bool DictionaryHelper::checkObjectExist_json(const rapidjson::Value &root, int i
return bRet;
}
}
}

View File

@ -16,4 +16,4 @@ int getDPIJNI()
return ret;
}
} // extern "C"
} // extern "C"

View File

@ -419,4 +419,4 @@ void SHA1ConvertMessageToString(uint8_t *hash_binary, char* hash_string)
hash_string[2*i + 1] = alphabet[hash_binary[i] % 16];
}
hash_string[SHA1HashSize * 2] = '\0';
}
}

View File

@ -62,4 +62,4 @@ HRESULT Direct3DContentProvider::PrepareResources(_In_ const LARGE_INTEGER* pres
HRESULT Direct3DContentProvider::Draw(_In_ ID3D11Device1* device, _In_ ID3D11DeviceContext1* context, _In_ ID3D11RenderTargetView* renderTargetView)
{
return m_controller->Draw(device, context, renderTargetView);
}
}

View File

@ -185,4 +185,4 @@ bool Direct3DInterop::SendCocos2dEvent(Cocos2dEvent event)
return false;
}
}
}

View File

@ -70,4 +70,4 @@ void BatchCommand::execute()
_textureAtlas->drawQuads();
}
NS_CC_END
NS_CC_END

View File

@ -50,4 +50,4 @@ void CustomCommand::execute()
}
}
NS_CC_END
NS_CC_END

View File

@ -177,4 +177,4 @@ void MeshCommand::execute()
glBindBuffer(GL_ARRAY_BUFFER, 0);
}
NS_CC_END
NS_CC_END

View File

@ -97,4 +97,4 @@ void QuadCommand::useMaterial() const
_glProgramState->apply(_mv);
}
NS_CC_END
NS_CC_END

View File

@ -60,4 +60,4 @@ void RenderCommand::printID()
printf("Command Depth: %f\n", _globalOrder);
}
NS_CC_END
NS_CC_END

View File

@ -414,4 +414,4 @@ int register_all_cocos2dx_coco_studio_manual(lua_State* L)
extendBone(L);
return 0;
}
}

View File

@ -1616,4 +1616,4 @@ int register_all_cocos2dx_physics_manual(lua_State* tolua_S)
return 0;
}
#endif
#endif

View File

@ -415,4 +415,4 @@ void ProtectedNode::disableCascadeColor()
}
}
NS_CC_END
NS_CC_END

View File

@ -82,4 +82,4 @@ bool HBox::initWithSize(const Size& size)
}
NS_CC_END
NS_CC_END

View File

@ -564,4 +564,4 @@ void RelativeLayoutManager::doLayout(LayoutProtocol *layout)
}
NS_CC_END
NS_CC_END

View File

@ -82,4 +82,4 @@ bool RelativeBox::initWithSize(const Size& size)
}
NS_CC_END
NS_CC_END

View File

@ -490,4 +490,4 @@ std::string RichText::getDescription() const
}
NS_CC_END
NS_CC_END

View File

@ -82,4 +82,4 @@ bool VBox::initWithSize(const Size& size)
}
NS_CC_END
NS_CC_END

View File

@ -300,4 +300,4 @@ std::string CCEditBoxImplWp8::PlatformStringTostring( Platform::String^ strSrc )
return strDst;
}
NS_CC_EXT_END
NS_CC_EXT_END

View File

@ -33,4 +33,4 @@ string getIPAddress()
t.env->DeleteLocalRef(str);
}
return IPAddress;
}
}

View File

@ -350,4 +350,4 @@ void createSimulator(const char* viewName, float width, float height, bool isLan
printf("SetWindowLong NewWndProc Error:%d\n",GetLastError());
}
}
}

View File

@ -69,4 +69,4 @@ std::string getCurAppPath(void)
char fuldir[MAX_PATH]={0};
_fullpath(fuldir,strPath.c_str(),MAX_PATH);
return fuldir;
}
}

View File

@ -156,4 +156,4 @@ void AppDelegate::setCurrentTest(BaseTest* curTest)
BaseTest* AppDelegate::getCurrentTest()
{
return _curTest;
}
}

View File

@ -275,4 +275,4 @@ void Box2DTestScene::runThisTest()
Director::getInstance()->replaceScene(this);
}

View File

@ -55,4 +55,4 @@ void AnimationsTestLayer::onControlButtonJumpClicked(Ref *pSender, Control::Even
void AnimationsTestLayer::onControlButtonFunkyClicked(Ref *pSender, Control::EventType pControlEvent) {
mAnimationManager->runAnimationsForSequenceNamedTweenDuration("Funky", 0.3f);
}
}

View File

@ -61,4 +61,4 @@ void ButtonTestLayer::onControlButtonClicked(cocos2d::Ref *pSender, Control::Eve
default:
assert(false); // OH SHIT!
}
}
}

View File

@ -41,4 +41,4 @@ void MenuTestLayer::onMenuItemBClicked(cocos2d::Ref *pSender) {
void MenuTestLayer::onMenuItemCClicked(cocos2d::Ref *pSender) {
this->mMenuItemStatusLabelBMFont->setString("Menu Item C clicked.");
}
}

View File

@ -22,4 +22,4 @@ void TestHeaderLayer::onNodeLoaded(cocos2d::Node * node, cocosbuilder::NodeLoade
void TestHeaderLayer::onBackClicked(cocos2d::Ref *pSender) {
Director::getInstance()->popScene();
}
}

View File

@ -79,4 +79,4 @@ void MouseTestScene::runThisTest()
Director::getInstance()->replaceScene(this);
layer->release();
}
}

View File

@ -1862,4 +1862,4 @@ std::string LabelAdditionalKerningTest::title() const
std::string LabelAdditionalKerningTest::subtitle() const
{
return "Testing additional kerning of label";
}
}

View File

@ -52,4 +52,4 @@ void runRendererTest()
{
auto scene = RenderTestLayer::scene();
Director::getInstance()->replaceScene(scene);
}
}

View File

@ -137,4 +137,4 @@ void CocoStudioGUITestScene::BackCallback(Ref* pSender)
Director::getInstance()->replaceScene(scene);
cocostudio::ArmatureDataManager::destroyInstance();
}
}

View File

@ -37,4 +37,4 @@ void CustomReader::setProperties(const std::string &classType, Widget *widget, c
customImageView->setText(text);
}
}
}
}

View File

@ -390,4 +390,4 @@ Scene *UISceneManager::currentUIScene()
#endif
}
return NULL;
}
}

View File

@ -208,4 +208,4 @@ void VideoPlayerTest::videoEventCallback(Ref* sender, VideoPlayer::EventType eve
default:
break;
}
}
}

View File

@ -5,4 +5,4 @@ void UITestScene::runThisTest()
{
CocoStudioGUITestScene* pScene = new CocoStudioGUITestScene();
pScene->runThisTest();
}
}