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
23 lines
548 B
Objective-C
23 lines
548 B
Objective-C
//
|
|
// FrameProcessorPlugin.m
|
|
// VisionCamera
|
|
//
|
|
// Created by Marc Rousavy on 31.07.23.
|
|
// Copyright © 2023 mrousavy. All rights reserved.
|
|
//
|
|
|
|
#import "FrameProcessorPlugin.h"
|
|
|
|
// Base implementation (empty)
|
|
@implementation FrameProcessorPlugin
|
|
|
|
- (id _Nullable)callback:(Frame* _Nonnull)frame withArguments:(NSDictionary* _Nullable)arguments {
|
|
[NSException
|
|
raise:NSInternalInconsistencyException
|
|
format:
|
|
@"Frame Processor Plugin does not override the `callback(frame:withArguments:)` method!"];
|
|
return nil;
|
|
}
|
|
|
|
@end
|