mirror of
https://github.com/zoriya/react-native-omni.git
synced 2026-08-05 13:46:59 +00:00
27 lines
1005 B
C++
Generated
27 lines
1005 B
C++
Generated
///
|
|
/// HybridOmniViewSpec.cpp
|
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
/// https://github.com/mrousavy/nitro
|
|
/// Copyright © Marc Rousavy @ Margelo
|
|
///
|
|
|
|
#include "HybridOmniViewSpec.hpp"
|
|
|
|
namespace margelo::nitro::omni {
|
|
|
|
void HybridOmniViewSpec::loadHybridMethods() {
|
|
// load base methods/properties
|
|
HybridObject::loadHybridMethods();
|
|
// load custom methods/properties
|
|
registerHybrids(this, [](Prototype& prototype) {
|
|
prototype.registerHybridGetter("player", &HybridOmniViewSpec::getPlayer);
|
|
prototype.registerHybridSetter("player", &HybridOmniViewSpec::setPlayer);
|
|
prototype.registerHybridGetter("autoplay", &HybridOmniViewSpec::getAutoplay);
|
|
prototype.registerHybridSetter("autoplay", &HybridOmniViewSpec::setAutoplay);
|
|
prototype.registerHybridGetter("autoPip", &HybridOmniViewSpec::getAutoPip);
|
|
prototype.registerHybridSetter("autoPip", &HybridOmniViewSpec::setAutoPip);
|
|
});
|
|
}
|
|
|
|
} // namespace margelo::nitro::omni
|