21 lines
413 B
C++
21 lines
413 B
C++
|
#include "pch.h"
|
|||
|
#include "MainPage.h"
|
|||
|
#if __has_include("MainPage.g.cpp")
|
|||
|
#include "MainPage.g.cpp"
|
|||
|
#endif
|
|||
|
|
|||
|
#include "App.h"
|
|||
|
|
|||
|
using namespace winrt;
|
|||
|
using namespace Windows::UI::Xaml;
|
|||
|
|
|||
|
namespace winrt::videoplayer::implementation
|
|||
|
{
|
|||
|
MainPage::MainPage()
|
|||
|
{
|
|||
|
InitializeComponent();
|
|||
|
auto app = Application::Current().as<App>();
|
|||
|
ReactRootView().ReactNativeHost(app->Host());
|
|||
|
}
|
|||
|
}
|