summaryrefslogtreecommitdiff
path: root/include/ui/CameraHardwareInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ui/CameraHardwareInterface.h')
-rw-r--r--include/ui/CameraHardwareInterface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ui/CameraHardwareInterface.h b/include/ui/CameraHardwareInterface.h
index 14ac96e3baf0..2bd53dde32e0 100644
--- a/include/ui/CameraHardwareInterface.h
+++ b/include/ui/CameraHardwareInterface.h
@@ -96,6 +96,11 @@ public:
virtual void stopPreview() = 0;
/**
+ * Returns true if preview is enabled.
+ */
+ virtual bool previewEnabled() = 0;
+
+ /**
* Start auto focus, the callback routine is called
* once when focusing is complete. autoFocus() will
* be called again if another auto focus is needed.