diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libcamera/internal/request.h | 1 | ||||
-rw-r--r-- | include/libcamera/request.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/libcamera/internal/request.h b/include/libcamera/internal/request.h index 1f249989..9dadd6c6 100644 --- a/include/libcamera/internal/request.h +++ b/include/libcamera/internal/request.h @@ -44,6 +44,7 @@ public: private: friend class PipelineHandler; + friend std::ostream &operator<<(std::ostream &out, const Request &r); void doCancelRequest(); void emitPrepareCompleted(); diff --git a/include/libcamera/request.h b/include/libcamera/request.h index 1eb537e9..dffde153 100644 --- a/include/libcamera/request.h +++ b/include/libcamera/request.h @@ -9,6 +9,7 @@ #include <map> #include <memory> +#include <ostream> #include <stdint.h> #include <string> #include <unordered_set> @@ -75,4 +76,6 @@ private: Status status_; }; +std::ostream &operator<<(std::ostream &out, const Request &r); + } /* namespace libcamera */ |