OSDN Git Service

XAudio2を試す前のバックアップ。
[shooting3/shootinggame.git] / ShootingGame / App.xaml.h
1 //
2 // App.xaml.h
3 // App.xaml クラスの宣言。
4 //
5
6 #pragma once
7
8 #include "pch.h"
9 #include "App.g.h"
10 #include "SoundDriver.h"
11 #include "GameMain.h"
12 #include "BasicTimer.h"
13
14 namespace ShootingGame
15 {
16         /// <summary>
17         /// Provides application-specific behavior to supplement the default Application class.
18         /// </summary>
19         ref class App sealed
20         {
21         public:
22                 App();
23                 virtual void OnLaunched(Windows::ApplicationModel::Activation::LaunchActivatedEventArgs^ pArgs) override;
24
25         private:
26                 void OnSuspending(Object^ sender, Windows::ApplicationModel::SuspendingEventArgs^ e);
27                 GameMain^ gameMain_;
28                 BasicTimer^ timer_;
29         Windows::Foundation::EventRegistrationToken         eventToken_;
30         void OnResuming(
31             _In_ Platform::Object^ sender,
32             _In_ Platform::Object^ args
33             );
34
35         void OnViewStateChanged(
36             _In_ Windows::UI::ViewManagement::ApplicationView^ view,
37             _In_ Windows::UI::ViewManagement::ApplicationViewStateChangedEventArgs^ args
38             );
39
40         void OnWindowActivationChanged(
41             _In_ Platform::Object^ sender,
42             _In_ Windows::UI::Core::WindowActivatedEventArgs^ args
43             );
44
45         void OnWindowSizeChanged(
46             _In_ Windows::UI::Core::CoreWindow^ sender,
47             _In_ Windows::UI::Core::WindowSizeChangedEventArgs^ args
48             );
49
50         void OnLogicalDpiChanged(
51             _In_ Platform::Object^ sender
52             );
53
54         void OnRendering(
55             _In_ Object^ sender, 
56             _In_ Object^ args
57             );
58                 void OnPointerPressed(
59                         _In_ Windows::UI::Core::CoreWindow^ sender,
60                         _In_ Windows::UI::Core::PointerEventArgs^ args
61                         );
62
63                 void OnPointerReleased(
64                         _In_ Windows::UI::Core::CoreWindow^ sender,
65                         _In_ Windows::UI::Core::PointerEventArgs^ args
66                         );
67                 void OnPointerMoved(
68                         _In_ Windows::UI::Core::CoreWindow^ sender,
69                         _In_ Windows::UI::Core::PointerEventArgs^ args
70                         );
71
72
73
74         };
75 }