a4fec8eb99
This also deprecates the old react-native windows implementation
18 lines
573 B
C++
18 lines
573 B
C++
#include "pch.h"
|
|
#include "ReactPackageProvider.h"
|
|
#if __has_include("ReactPackageProvider.g.cpp")
|
|
#include "ReactPackageProvider.g.cpp"
|
|
#endif
|
|
|
|
#include "ReactVideoViewManager.h"
|
|
|
|
using namespace winrt::Microsoft::ReactNative;
|
|
|
|
namespace winrt::ReactNativeVideoCPP::implementation {
|
|
|
|
void ReactPackageProvider::CreatePackage(IReactPackageBuilder const &packageBuilder) noexcept {
|
|
packageBuilder.AddViewManager(L"ReactVideoViewManager", []() { return winrt::make<ReactVideoViewManager>(); });
|
|
}
|
|
|
|
} // namespace winrt::ReactNativeVideoCPP::implementation
|