2015-05-29 04:51:25 +08:00
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "app.g.h"
|
2016-03-24 03:14:12 +08:00
|
|
|
|
#include "OpenGLES.h"
|
|
|
|
|
#include "OpenGLESPage.xaml.h"
|
2015-05-29 04:51:25 +08:00
|
|
|
|
|
2015-08-19 02:06:47 +08:00
|
|
|
|
namespace CocosAppWinRT
|
2015-05-29 04:51:25 +08:00
|
|
|
|
{
|
2015-08-19 02:06:47 +08:00
|
|
|
|
ref class App sealed
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
App();
|
|
|
|
|
virtual void OnLaunched(Windows::ApplicationModel::Activation::LaunchActivatedEventArgs^ e) override;
|
2015-05-29 04:51:25 +08:00
|
|
|
|
|
2015-08-19 02:06:47 +08:00
|
|
|
|
private:
|
|
|
|
|
void OnSuspending(Platform::Object^ sender, Windows::ApplicationModel::SuspendingEventArgs^ e);
|
|
|
|
|
void OnResuming(Platform::Object ^sender, Platform::Object ^args);
|
2016-03-24 03:14:12 +08:00
|
|
|
|
void OnNavigationFailed(Platform::Object ^sender, Windows::UI::Xaml::Navigation::NavigationFailedEventArgs ^e);
|
2015-08-19 02:06:47 +08:00
|
|
|
|
|
|
|
|
|
OpenGLESPage^ mPage;
|
|
|
|
|
OpenGLES mOpenGLES;
|
|
|
|
|
};
|
2015-05-29 04:51:25 +08:00
|
|
|
|
}
|