summaryrefslogtreecommitdiff
path: root/LICENSES/CC-BY-SA-4.0.txt
AgeCommit message (Collapse)Author
2020-04-15licenses: Rename license files according to REUSELaurent Pinchart
The REUSE specification [1] defines a standardized method for declaring copyright and licensing information. Rename the licenses directory and the files it contains to comply with the specification. No license text is modified. [1] https://reuse.software/spec/ Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
/* * Copyright (C) 2021, Collabora Ltd. * * environment.h - Common environment for tests */ #ifndef __LC_COMPLIANCE_ENVIRONMENT_H__ #define __LC_COMPLIANCE_ENVIRONMENT_H__ #include <libcamera/libcamera.h> using namespace libcamera; class Environment { public: static Environment *get(); void setup(CameraManager *cm, std::string cameraId); const std::string &cameraId() const { return cameraId_; } CameraManager *cm() const { return cm_; } private: Environment() = default; std::string cameraId_; CameraManager *cm_; }; #endif /* __LC_COMPLIANCE_ENVIRONMENT_H__ */