text stringlengths 1 24.5M |
|---|
/*
* Copyright (C) 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
//
// AppleChoreographer.h
// Pods
//
// Created by Marc Rousavy on 23.02.24.
//
#pragma once
#include "RNFChoreographer.h"
#include "RNFDisplayLinkListener.h"
namespace margelo {
class AppleChoreographer : public Choreographer, public std::enable_shared_from_this<AppleChoreographer> {
public:
explicit AppleCh... |
//
// AppleDispatcher.h
// react-native-filament
//
// Created by Marc Rousavy on 12.03.24.
//
#pragma once
#include "threading/RNFDispatcher.h"
#include <Foundation/Foundation.h>
namespace margelo {
/**
A [Dispatcher] implementation that uses iOS dispatch_queues to schedule calls.
*/
class AppleDispatcher : p... |
//
// AppleFilamentProxy.h
// react-native-filament
//
// Created by Marc Rousavy on 20.02.24.
// Copyright © 2023 mrousavy. All rights reserved.
//
#pragma once
#include "RNFFilamentBuffer.h"
#include "RNFFilamentProxy.h"
#include "RNFFilamentRecorder.h"
#include "RNFFilamentView.h"
#include "threading/RNFDispa... |
//
// AppleFilamentRecorder.h
// react-native-filament
//
// Created by Marc Rousavy on 02.05.24.
//
#pragma once
#include "RNFFilamentRecorder.h"
#include <AVFoundation/AVFoundation.h>
#include <CoreVideo/CoreVideo.h>
#include <Foundation/Foundation.h>
#include <mutex>
namespace margelo {
class AppleFilamentRec... |
//
// AppleFilamentView.h
// react-native-filament
//
// Created by Marc Rousavy on 22.02.24.
//
#pragma once
#include "RNFFilamentMetalView.h"
#include "RNFFilamentView.h"
#include "RNFMetalSurfaceProvider.h"
#include "RNFSurfaceProvider.h"
namespace margelo {
/**
* `AppleFilamentView` is the C++ wrapper aroun... |
//
// AppleManagedBuffer.h
// react-native-filament
//
// Created by Marc Rousavy on 05.03.24.
//
#pragma once
#include "RNFManagedBuffer.h"
#include <Foundation/Foundation.h>
namespace margelo {
class AppleManagedBuffer : public ManagedBuffer {
public:
explicit AppleManagedBuffer(NSData* data) : _data(data) {... |
//
// BlockObserver.h
// Pods
//
// Created by Marc Rousavy on 22.02.24.
//
#pragma once
#import <Foundation/Foundation.h>
typedef void (^ObservationBlock)(NSDictionary<NSKeyValueChangeKey, id>* change, void* context);
@interface BlockObserver : NSObject
- (instancetype)initWithBlock:(ObservationBlock)block;
@... |
//
// DisplayLinkListener.h
// Pods
//
// Created by Marc Rousavy on 23.02.24.
//
#pragma once
#import <Foundation/Foundation.h>
#import <QuartzCore/CADisplayLink.h>
@interface DisplayLinkListener : NSObject
typedef void (^OnFrameCallback)(double timestamp);
- (instancetype)initWithCallback:(OnFrameCallback)call... |
//
// RNFFilamentView.h
// react-native-filament
//
// Created by Hanno Gödecke on 27.05.24.
//
#pragma once
// This guard prevent this file to be compiled in the old architecture.
#ifdef RCT_NEW_ARCH_ENABLED
#import "RNFFilamentMetalView.h"
#import <React/RCTViewComponentView.h>
#import <UIKit/UIKit.h>
NS_ASSUM... |
//
// IOSFilamentInstaller.h
// react-native-filament
//
// Created by Marc Rousavy on 20.02.24.
//
#pragma once
#import <Foundation/Foundation.h>
#import <React/RCTBridge.h>
#import <ReactCommon/CallInvoker.h>
#import <jsi/jsi.h>
#import <memory>
#ifdef RCT_NEW_ARCH_ENABLED
#import <React/RCTSurfacePresenter.h>
#... |
//
// FilamentView.h
// Pods
//
// Created by Marc Rousavy on 22.02.24.
//
#pragma once
#import <React/RCTViewManager.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
/**
* This is the actual UIView component that will be part of the view hierarchy.
*/
@interface FilamentMetalView : UIView
- (instancetype)i... |
//
// FilamentModule.h
// Pods
//
// Created by Marc Rousavy on 22.02.24.
//
#pragma once
#import <React/RCTBridgeModule.h>
#import <React/RCTEventEmitter.h>
@interface FilamentModule : NSObject <RCTBridgeModule>
@property(nonatomic, weak) RCTBridge* bridge;
@property(nonatomic, weak) RCTModuleRegistry* moduleRe... |
//
// MetalSurface.h
// Pods
//
// Created by Marc Rousavy on 22.02.24.
//
#pragma once
#include "RNFSurface.h"
#include <Metal/Metal.h>
namespace margelo {
class MetalSurface : public Surface {
public:
explicit MetalSurface(CAMetalLayer* layer) : _layer(layer) {}
int getWidth() override {
return static... |
//
// MetalSurfaceProvider.h
// Pods
//
// Created by Marc Rousavy on 22.02.24.
//
#pragma once
#include "RNFBlockObserver.h"
#include "RNFMetalSurface.h"
#include "RNFSurfaceProvider.h"
#include <Metal/Metal.h>
namespace margelo {
class MetalSurfaceProvider : public SurfaceProvider {
public:
explicit MetalSur... |
//
// NSThreadDispatcher.m
// react-native-filament
//
// Created by Marc Rousavy on 02.04.24.
//
#pragma once
#include "threading/RNFDispatcher.h"
#include <Foundation/Foundation.h>
#include <string>
namespace margelo {
/**
A [Dispatcher] implementation that uses an Objective-C NSThread.
*/
class NSThreadDisp... |
#import <Foundation/Foundation.h>
typedef void (^DownloadCompleteCallback)(NSNumber*, NSNumber*);
typedef void (^ErrorCallback)(NSError*);
typedef void (^BeginCallback)(NSNumber*, NSNumber*, NSDictionary*);
typedef void (^ProgressCallback)(NSNumber*, NSNumber*);
typedef void (^ResumableCallback)(void);
@interface RNF... |
//
// NSArray+Map.h
// RNFS
//
// taken from http://stackoverflow.com/questions/6127638/nsarray-equivalent-of-map
#import <Foundation/Foundation.h>
@interface NSArray (Map)
- (NSArray *)rnfs_mapObjectsUsingBlock:(id (^)(id obj, NSUInteger idx))block;
@end |
//
// RNFSManager.h
// RNFSManager
//
// Created by Johannes Lumpe on 08/05/15.
// Copyright (c) 2015 Johannes Lumpe. All rights reserved.
//
#import <React/RCTBridgeModule.h>
#import <React/RCTEventEmitter.h>
#import <React/RCTLog.h>
typedef void (^CompletionHandler)(void);
@interface RNFSManager : RCTEventEmit... |
#import <Foundation/Foundation.h>
#if !TARGET_OS_OSX
#import <MobileCoreServices/MobileCoreServices.h>
#endif
typedef void (^UploadCompleteCallback)(NSString*, NSURLResponse *);
typedef void (^UploadErrorCallback)(NSError*);
typedef void (^UploadBeginCallback)(void);
typedef void (^UploadProgressCallback)(NSNumber*, ... |
#include "pch.h"
#include "App.h"
#include "AutolinkedNativeModules.g.h"
#include "ReactPackageProvider.h"
using namespace winrt::RNFSWin;
using namespace winrt::RNFSWin::implementation;
using namespace winrt;
using namespace Windows::UI::Xaml;
using namespace Windows::UI::Xaml::Controls;
using namespace Windows::U... |
#pragma once
#include "App.xaml.g.h"
namespace activation = winrt::Windows::ApplicationModel::Activation;
namespace winrt::RNFSWin::implementation
{
struct App : AppT<App>
{
App() noexcept;
void OnLaunched(activation::LaunchActivatedEventArgs const&);
void OnSuspending(IInspectable co... |
// AutolinkedNativeModules.g.cpp contents generated by "react-native autolink-windows"
// clang-format off
#include "pch.h"
#include "AutolinkedNativeModules.g.h"
// Includes from RNFS
#include <winrt/RNFS.h>
namespace winrt::Microsoft::ReactNative
{
void RegisterAutolinkedNativeModulePackages(winrt::Windows::Founda... |
// AutolinkedNativeModules.g.h contents generated by "react-native autolink-windows"
#pragma once
namespace winrt::Microsoft::ReactNative
{
void RegisterAutolinkedNativeModulePackages(winrt::Windows::Foundation::Collections::IVector<winrt::Microsoft::ReactNative::IReactPackageProvider> const& packageProviders);
}
|
#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::RNFSWin::implementation
{
MainPage::MainPage()
{
InitializeComponent();
auto app = Appli... |
#pragma once
#include "MainPage.g.h"
#include <winrt/Microsoft.ReactNative.h>
namespace winrt::RNFSWin::implementation
{
struct MainPage : MainPageT<MainPage>
{
MainPage();
};
}
namespace winrt::RNFSWin::factory_implementation
{
struct MainPage : MainPageT<MainPage, implementation::MainPag... |
#include "pch.h"
|
#include "pch.h"
#include "ReactPackageProvider.h"
#include "NativeModules.h"
using namespace winrt::Microsoft::ReactNative;
namespace winrt::RNFSWin::implementation
{
void ReactPackageProvider::CreatePackage(IReactPackageBuilder const &packageBuilder) noexcept
{
AddAttributedModules(packageBuilder);
}
} // na... |
#pragma once
#include "winrt/Microsoft.ReactNative.h"
namespace winrt::RNFSWin::implementation
{
struct ReactPackageProvider : winrt::implements<ReactPackageProvider, winrt::Microsoft::ReactNative::IReactPackageProvider>
{
public: // IReactPackageProvider
void CreatePackage(winrt::Microsoft::Reac... |
#pragma once
#define NOMINMAX
#include <winrt/Windows.ApplicationModel.Activation.h>
#include <winrt/Windows.Foundation.Collections.h>
#include <winrt/Windows.Foundation.h>
#include <winrt/Windows.UI.Xaml.Controls.Primitives.h>
#include <winrt/Windows.UI.Xaml.Controls.h>
#include <winrt/Windows.UI.Xaml.Data.h>
#in... |
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <U... |
#include "pch.h"
|
#pragma once
#include <windows.h>
#include <winrt/Windows.Foundation.h>
#include <winrt/Windows.Foundation.Collections.h>
|
#include "pch.h"
#include "ReactPackageProvider.h"
#include "ReactPackageProvider.g.cpp"
#include "RNFSManager.h"
using namespace winrt::Microsoft::ReactNative;
namespace winrt::RNFS::implementation {
void ReactPackageProvider::CreatePackage(IReactPackageBuilder const &packageBuilder) noexcept {
AddAttributedModu... |
#pragma once
#include "ReactPackageProvider.g.h"
using namespace winrt::Microsoft::ReactNative;
namespace winrt::RNFS::implementation {
struct ReactPackageProvider : ReactPackageProviderT<ReactPackageProvider> {
ReactPackageProvider() = default;
void CreatePackage(IReactPackageBuilder const &packageBuilder) noe... |
// Copyright (C) Microsoft Corporation. All rights reserved.
#include "pch.h"
#include "RNFSManager.h"
#include <filesystem>
#include <sstream>
#include <stack>
#include <windows.h>
#include <winrt/Windows.Storage.FileProperties.h>
#include <winrt/Windows.Storage.Streams.h>
#include <winrt/Windows.Storage.h>
#inclu... |
// Copyright (C) Microsoft Corporation. All rights reserved.
#pragma once
#include "NativeModules.h"
#include <string>
#include <mutex>
#include <winrt/Windows.Foundation.h>
#include <winrt/Windows.Security.Cryptography.h>
#include <winrt/Windows.Security.Cryptography.Core.h>
#include <winrt/Windows.Web.Http.h>
names... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "pch.h"
#include "motifCpp/gTestAdapter.h"
int main(int argc, char **argv) {
Mso::UnitTests::GTest::RegisterUnitTests();
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "pch.h"
|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#define NOGDI
#define NOMINMAX
#include <unknwn.h>
#undef GetCurrentTime
#include <winrt/Microsoft.ReactNative.h>
#include <winrt/Windows.Foundation.Collections.h>
#include <winrt/Windows.Foundation.h>
#in... |
#include "pch.h"
#include "ReactModuleBuilderMock.h"
#include <sstream>
#include "future/futureWait.h"
#include "RNFSManager.h"
namespace ReactNativeTests {
std::string testLocation = "C:/react-native-fs-test-folder\\";
TEST_CLASS(RNFSManagerTest) {
React::ReactModuleBuilderMock m_builderMock{};
... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "pch.h"
#include "JsonJSValueReader.h"
namespace winrt::Microsoft::ReactNative {
//===========================================================================
// JsonJSValueReader implementation
//====================================... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include "JsonReader.h"
#include "winrt/Microsoft.ReactNative.h"
namespace winrt::Microsoft::ReactNative {
struct JsonJSValueReader : implements<JsonJSValueReader, IJSValueReader> {
JsonJSValueReader(std::wstring &&jsonText) n... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// Terms used in here:
// Container: represents a [] or {}
// isStringContent: is the current value a string? Either a name or quoted value
#include "pch.h"
#include "JsonReader.h"
#include "Crash.h"
namespace winrt::Microsoft::ReactNativ... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// Simple JsonReader
#include <cstdint>
#include <stack>
#include <string_view>
namespace winrt::Microsoft::ReactNative {
struct JsonSource {
static_assert(sizeof(wchar_t) == 2, "This code expects 2-byte wchars");
JsonSource(std::wstrin... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "pch.h"
#include "ReactModuleBuilderMock.h"
#include "JSValue.h"
#include "JSValueTreeWriter.h"
namespace winrt::Microsoft::ReactNative {
//===========================================================================
// ReactModuleBui... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
// It must go first because of VerifyElseCrash macro definition
#include "future/future.h"
#include <functional>
#include "CppWinRTIncludes.h"
#include "JSValue.h"
#include "NativeModules.h"
#undef GetCurrentTime
using namespac... |
/**************************************************************************/
/* GodotModule.cpp */
/**************************************************************************/
/* Copyright (c) 2024-2025 Slay GmbH */
/* ... |
/**************************************************************************/
/* libgodot_android.h */
/**************************************************************************/
/* Copyright (c) 2024-2025 Slay GmbH */
/* ... |
/**************************************************************************/
/* libgodot_jni.cpp */
/**************************************************************************/
/* Copyright (c) 2024-2025 Slay GmbH */
/* ... |
/**************************************************************************/
/* libgodot_jni.h */
/**************************************************************************/
/* Copyright (c) 2024-2025 Slay GmbH */
/* ... |
/**************************************************************************/
/* native_godot_module_jni.cpp */
/**************************************************************************/
/* Copyright (c) 2024-2025 Slay GmbH */
/* ... |
/**************************************************************************/
/* native_godot_module_jni.h */
/**************************************************************************/
/* Copyright (c) 2024-2025 Slay GmbH */
/* ... |
/**************************************************************************/
/* OnLoad.cpp */
/**************************************************************************/
/* Copyright (c) 2024-2025 Slay GmbH */
/* ... |
/**************************************************************************/
/* godot-log.h */
/**************************************************************************/
/* Copyright (c) 2024-2025 Slay GmbH */
/* ... |
/**************************************************************************/
/* GodotModule.h */
/**************************************************************************/
/* Copyright (c) 2024-2025 Slay GmbH */
/* ... |
/**************************************************************************/
/* NativeGodotModule.cpp */
/**************************************************************************/
/* Copyright (c) 2024-2025 Slay GmbH */
/* ... |
/**************************************************************************/
/* NativeGodotModule.h */
/**************************************************************************/
/* Copyright (c) 2024-2025 Slay GmbH */
/* ... |
/**************************************************************************/
/* NativeGodotModuleProvider.h */
/**************************************************************************/
/* Copyright (c) 2024-2025 Slay GmbH */
/* ... |
/**************************************************************************/
/* RTNGodotView.h */
/**************************************************************************/
/* Copyright (c) 2024-2025 Slay GmbH */
/* ... |
/**
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
*
* Do not edit this file as changes may cause incorrect behavior and will be lost
* once the code is regenerated.
*
* @generated by codegen project: GenerateModuleJniCpp.js
*/
#include "MMKVStorageSpec... |
/**
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
*
* Do not edit this file as changes may cause incorrect behavior and will be lost
* once the code is regenerated.
*
* @generated by codegen project: GenerateModuleJniH.js
*/
#pragma once
#include <Rea... |
/**
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
*
* Do not edit this file as changes may cause incorrect behavior and will be lost
* once the code is regenerated.
*
* @generated by codegen project: GenerateModuleCpp.js
*/
#include "MMKVStorageSpecJSI.... |
/**
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
*
* Do not edit this file as changes may cause incorrect behavior and will be lost
* once the code is regenerated.
*
* @generated by codegen project: GenerateModuleH.js
*/
#pragma once
#include <ReactCo... |
#include <jni.h>
#include <jsi/jsi.h>
#include <ReactCommon/CallInvokerHolder.h>
#include <fbjni/fbjni.h>
#include "MMKV.h"
#include "MMKVPredef.h"
#include "MMBuffer.h"
#include <algorithm>
using namespace facebook;
using namespace jsi;
using namespace std;
static vector<MMKV *> mmkvInstances;
static string rPath =... |
//
// Use this file to import your target's public headers that you would like to expose to Swift.
//
|
#ifdef RCT_NEW_ARCH_ENABLED
#import "MMKVStorageSpec.h"
@interface MMKVStorage : NSObject <NativeMMKVStorageSpec>
@property (nonatomic, assign) BOOL setBridgeOnMainQueue;
#else
#import <React/RCTBridgeModule.h>
#import <React/RCTEventEmitter.h>
@interface MMKVStorage : NSObject <RCTBridgeModule>
@property (nonatomic... |
#import <React/RCTBridgeModule.h>
#import <Foundation/Foundation.h>
@interface SecureStorage: NSObject
- (void) setSecureKey: (nonnull NSString *)key value:(nonnull NSString *)value
options: (nonnull NSDictionary *)options;
- (nullable NSString *) getSecureKey:(nonnull NSString *)key;
- (bool) secure... |
//
// YeetJSIUTils.h
// yeet
//
// Created by Jarred WSumner on 1/30/20.
// Copyright © 2020 Facebook. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <jsi/jsi.h>
#import <React/RCTBridgeModule.h>
using namespace facebook;
/**
* All static helper functions are ObjC++ specific.
*/
jsi::Value c... |
/**
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
*
* Do not edit this file as changes may cause incorrect behavior and will be lost
* once the code is regenerated.
*
* @generated by codegen project: GenerateModuleCpp.js
*/
#include "MMKVStorageSpecJSI.... |
/**
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
*
* Do not edit this file as changes may cause incorrect behavior and will be lost
* once the code is regenerated.
*
* @generated by codegen project: GenerateModuleH.js
*/
#pragma once
#include <ReactCo... |
/**
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
*
* Do not edit this file as changes may cause incorrect behavior and will be lost
* once the code is regenerated.
*
* @generated by codegen project: GenerateModuleObjCpp
*
* We create an umbrella header... |
/*
* Tencent is pleased to support the open source community by making
* MMKV available.
*
* Copyright (C) 2018 THL A29 Limited, a Tencent company.
* All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use
* this file except in compliance with the License. You may obtai... |
/*
* Tencent is pleased to support the open source community by making
* MMKV available.
*
* Copyright (C) 2018 THL A29 Limited, a Tencent company.
* All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use
* this file except in compliance with the License. You may obtai... |
/*
* Tencent is pleased to support the open source community by making
* MMKV available.
*
* Copyright (C) 2020 THL A29 Limited, a Tencent company.
* All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use
* this file except in compliance with the License. You may obtain a copy... |
/*
* Tencent is pleased to support the open source community by making
* MMKV available.
*
* Copyright (C) 2020 THL A29 Limited, a Tencent company.
* All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use
* this file except in compliance with the License. You may obtain a copy... |
/*
* Tencent is pleased to support the open source community by making
* MMKV available.
*
* Copyright (C) 2020 THL A29 Limited, a Tencent company.
* All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use
* this file except in compliance with the License. You may obtain a copy... |
/*
* Tencent is pleased to support the open source community by making
* MMKV available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company.
* All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use
* this file except in compliance with the License. You may obtai... |
/*
* Tencent is pleased to support the open source community by making
* MMKV available.
*
* Copyright (C) 2018 THL A29 Limited, a Tencent company.
* All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use
* this file except in compliance with the License. You may obtai... |
/*
* Tencent is pleased to support the open source community by making
* MMKV available.
*
* Copyright (C) 2018 THL A29 Limited, a Tencent company.
* All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use
* this file except in compliance with the License. You may obtai... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.