axmol/Cocos2dSimpleGame/Cocos2dSimpleGameAppDelegate.h

31 lines
661 B
C++

// Application application header file.
// Original file name: cocosTemplateApp.h
// Generated by TOPS Builder:Project wizard,Date:2010-09-27
#ifndef _APP_DELEGATE_H_
#define _APP_DELEGATE_H_
#include "CCXApplication.h"
#include "CCXEGLView.h"
class AppDelegate : public cocos2d::CCXApplication
{
public:
AppDelegate();
~AppDelegate();
virtual bool applicationDidFinishLaunching();
virtual void applicationDidEnterBackground();
virtual void applicationWillEnterForeground();
protected:
TRectangle m_rcWnd;
cocos2d::CCXEGLView * m_pMainWnd;
};
#endif // _APP_DELEGATE_H_