summaryrefslogtreecommitdiff
path: root/src/qcam/main_window.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-04-28 15:41:20 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-05-23 00:27:10 +0300
commit2ca2d658700c57c3d734d72b2148436907152257 (patch)
treefd1daddee8186b2a3324089a68607e3e020d40fc /src/qcam/main_window.h
parentd8de003a0482c998c178151bd1e5684fef60b8be (diff)
libcamera: camera: Rename configureStreams() and streamConfiguration()
Rename the configureStreams() and streamConfiguration() methods to configure() and generateConfiguration() respectively in order to clarify the API. Both methods deal with CameraConfiguration objects, and are thus not limited to streams, even if a CameraConfiguration currently contains streams only. While at it, remove the qcam MainWindow::configureStreams() method that is declared but never defined or used. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/qcam/main_window.h')
-rw-r--r--src/qcam/main_window.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qcam/main_window.h b/src/qcam/main_window.h
index 9b31da2b..143b5b08 100644
--- a/src/qcam/main_window.h
+++ b/src/qcam/main_window.h
@@ -35,7 +35,6 @@ private:
int openCamera();
int startCapture();
- int configureStreams(Camera *camera, std::set<Stream *> &streams);
void stopCapture();
void requestComplete(Request *request,