summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/camera.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libcamera/camera.h b/include/libcamera/camera.h
index 5ad8a09f..a2635402 100644
--- a/include/libcamera/camera.h
+++ b/include/libcamera/camera.h
@@ -29,6 +29,9 @@ public:
Signal<Camera *> disconnected;
+ int acquire();
+ void release();
+
private:
Camera(PipelineHandler *pipe, const std::string &name);
~Camera();
@@ -38,6 +41,8 @@ private:
std::shared_ptr<PipelineHandler> pipe_;
std::string name_;
+
+ bool acquired_;
};
} /* namespace libcamera */