Files
2024-07-20 22:54:18 +08:00

22 lines
737 B
C++

#pragma once
#include "App.xaml.g.h"
#include <CppWinRTIncludes.h>
namespace activation = winrt::Windows::ApplicationModel::Activation;
namespace winrt::ReactNativeProject::implementation
{
struct App : AppT<App>
{
App() noexcept;
void OnLaunched(activation::LaunchActivatedEventArgs const&);
void OnActivated(Windows::ApplicationModel::Activation::IActivatedEventArgs const &e);
void OnSuspending(IInspectable const&, Windows::ApplicationModel::SuspendingEventArgs const&);
void OnNavigationFailed(IInspectable const&, xaml::Navigation::NavigationFailedEventArgs const&);
private:
using super = AppT<App>;
};
} // namespace winrt::ReactNativeProject::implementation