axmol/tests/cpp-empty-test/proj.win8.1-universal/HelloCpp.Shared/App.xaml.h

31 lines
872 B
C
Raw Normal View History

#pragma once
#include "app.g.h"
2016-03-24 03:14:12 +08:00
#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:
#if WINAPI_FAMILY==WINAPI_FAMILY_PHONE_APP
Windows::UI::Xaml::Media::Animation::TransitionCollection^ _transitions;
Windows::Foundation::EventRegistrationToken _firstNavigatedToken;
void RootFrame_FirstNavigated(Platform::Object^ sender, Windows::UI::Xaml::Navigation::NavigationEventArgs^ e);
#endif
void OnSuspending(Platform::Object^ sender, Windows::ApplicationModel::SuspendingEventArgs^ e);
void OnResuming(Platform::Object ^sender, Platform::Object ^args);
OpenGLESPage^ mPage;
OpenGLES mOpenGLES;
};
}