summaryrefslogtreecommitdiff
path: root/src/lc-compliance/environment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lc-compliance/environment.h')
-rw-r--r--src/lc-compliance/environment.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lc-compliance/environment.h b/src/lc-compliance/environment.h
index 1c7d9a55..ba308732 100644
--- a/src/lc-compliance/environment.h
+++ b/src/lc-compliance/environment.h
@@ -9,23 +9,21 @@
#include <libcamera/libcamera.h>
-using namespace libcamera;
-
class Environment
{
public:
static Environment *get();
- void setup(CameraManager *cm, std::string cameraId);
+ void setup(libcamera::CameraManager *cm, std::string cameraId);
const std::string &cameraId() const { return cameraId_; }
- CameraManager *cm() const { return cm_; }
+ libcamera::CameraManager *cm() const { return cm_; }
private:
Environment() = default;
std::string cameraId_;
- CameraManager *cm_;
+ libcamera::CameraManager *cm_;
};
#endif /* __LC_COMPLIANCE_ENVIRONMENT_H__ */