mirror of https://github.com/axmolengine/axmol.git
23 lines
544 B
C++
23 lines
544 B
C++
#pragma once
|
|
|
|
#include "app.g.h"
|
|
#include "OpenGLES.h"
|
|
#include "openglespage.xaml.h"
|
|
|
|
namespace CocosAppWinRT
|
|
{
|
|
ref class App sealed
|
|
{
|
|
public:
|
|
App();
|
|
virtual void OnLaunched(Windows::ApplicationModel::Activation::LaunchActivatedEventArgs^ e) override;
|
|
|
|
private:
|
|
void OnSuspending(Platform::Object^ sender, Windows::ApplicationModel::SuspendingEventArgs^ e);
|
|
void OnResuming(Platform::Object ^sender, Platform::Object ^args);
|
|
|
|
OpenGLESPage^ mPage;
|
|
OpenGLES mOpenGLES;
|
|
};
|
|
}
|