Skip to content

Commit

Permalink
indents
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Jul 21, 2023
1 parent 456571f commit 8b11200
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions android/src/main/cpp/FrameHostObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ namespace vision {
using namespace facebook;

class JSI_EXPORT FrameHostObject : public jsi::HostObject {
public:
explicit FrameHostObject(const jni::alias_ref<JFrame::javaobject>& frame);
public:
~FrameHostObject();

public:
public:
jsi::Value get(jsi::Runtime &, const jsi::PropNameID &name) override;
std::vector<jsi::PropNameID> getPropertyNames(jsi::Runtime &rt) override;

public:
public:
jni::global_ref<JFrame> frame;

private:
private:
static auto constexpr TAG = "VisionCamera";

size_t _refCount;
Expand Down
4 changes: 2 additions & 2 deletions android/src/main/cpp/java-bindings/JVisionCameraScheduler.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ using namespace facebook;
* 4. `trigger()` is a C++ function here that just calls the passed C++ Method from step 1.
*/
class JVisionCameraScheduler : public jni::HybridClass<JVisionCameraScheduler> {
public:
public:
static auto constexpr kJavaDescriptor = "Lcom/mrousavy/camera/frameprocessor/VisionCameraScheduler;";
static jni::local_ref<jhybriddata> initHybrid(jni::alias_ref<jhybridobject> jThis);
static void registerNatives();

// schedules the given job to be run on the VisionCamera FP Thread at some future point in time
void dispatchAsync(const std::function<void()>& job);

private:
private:
friend HybridBase;
jni::global_ref<JVisionCameraScheduler::javaobject> javaPart_;
std::queue<std::function<void()>> _jobs;
Expand Down

0 comments on commit 8b11200

Please sign in to comment.