03b57a7d27
* Use clang-format * Create .clang-format * Update .clang-format * Update .clang-format * Update .clang-format * Only search in cpp dirs * Update clang-format.sh * Update .clang-format * Update .clang-format * Update .clang-format * Format C++ code! * Use version 16 * Update clang-format.sh * Remove Shaders.ts * fix: Lint Swift
27 lines
716 B
Objective-C
27 lines
716 B
Objective-C
//
|
|
// FrameProcessorPluginRegistry.h
|
|
// VisionCamera
|
|
//
|
|
// Created by Marc Rousavy on 24.03.21.
|
|
// Copyright © 2021 mrousavy. All rights reserved.
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#import "Frame.h"
|
|
#import "FrameProcessorPlugin.h"
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@interface FrameProcessorPluginRegistry : NSObject
|
|
|
|
typedef FrameProcessorPlugin* _Nonnull (^PluginInitializerFunction)(
|
|
NSDictionary* _Nullable options);
|
|
|
|
+ (void)addFrameProcessorPlugin:(NSString* _Nonnull)name
|
|
withInitializer:(PluginInitializerFunction _Nonnull)pluginInitializer;
|
|
|
|
+ (FrameProcessorPlugin* _Nullable)getPlugin:(NSString* _Nonnull)name
|
|
withOptions:(NSDictionary* _Nullable)options;
|
|
|
|
@end
|