summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libcamera/internal/camera.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/libcamera/internal/camera.h b/include/libcamera/internal/camera.h
index 9ef5d8ae..b60ed140 100644
--- a/include/libcamera/internal/camera.h
+++ b/include/libcamera/internal/camera.h
@@ -26,6 +26,11 @@ class Camera::Private : public Extensible::Private
LIBCAMERA_DECLARE_PUBLIC(Camera)
public:
+ Private(PipelineHandler *pipe, const std::string &id,
+ const std::set<Stream *> &streams);
+ ~Private();
+
+private:
enum State {
CameraAvailable,
CameraAcquired,
@@ -34,10 +39,6 @@ public:
CameraRunning,
};
- Private(PipelineHandler *pipe, const std::string &id,
- const std::set<Stream *> &streams);
- ~Private();
-
bool isRunning() const;
int isAccessAllowed(State state, bool allowDisconnected = false,
const char *from = __builtin_FUNCTION()) const;
@@ -53,7 +54,6 @@ public:
std::set<Stream *> streams_;
std::set<const Stream *> activeStreams_;
-private:
bool disconnected_;
std::atomic<State> state_;
};