mirror of
https://github.com/zoriya/react-native-omni.git
synced 2026-08-16 02:44:51 +00:00
Create types for player & view
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
///
|
||||
/// HybridOmniPlayerFactorySpec.cpp
|
||||
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
||||
/// https://github.com/mrousavy/nitro
|
||||
/// Copyright © Marc Rousavy @ Margelo
|
||||
///
|
||||
|
||||
#include "HybridOmniPlayerFactorySpec.hpp"
|
||||
|
||||
namespace margelo::nitro::omni {
|
||||
|
||||
void HybridOmniPlayerFactorySpec::loadHybridMethods() {
|
||||
// load base methods/properties
|
||||
HybridObject::loadHybridMethods();
|
||||
// load custom methods/properties
|
||||
registerHybrids(this, [](Prototype& prototype) {
|
||||
prototype.registerHybridMethod("createPlayer", &HybridOmniPlayerFactorySpec::createPlayer);
|
||||
});
|
||||
}
|
||||
|
||||
} // namespace margelo::nitro::omni
|
||||
Reference in New Issue
Block a user