/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "App.xaml.g.h" #include #ifdef USE_WINUI3 namespace activation = winrt::Microsoft::UI::Xaml; #else namespace activation = winrt::Windows::ApplicationModel::Activation; #endif namespace winrt::ReactNativeFlipperExample::implementation { struct App : AppT { 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; }; } // namespace winrt::ReactNativeFlipperExample::implementation