blob: 2ea1a6883311cf9fd18ab14e93d7d05d43c12b61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2018, Google Inc.
*
* camera.h - Camera object interface
*/
#ifndef __LIBCAMERA_CAMERA_H__
#define __LIBCAMERA_CAMERA_H__
#include <memory>
#include <string>
namespace libcamera {
class Camera final
{
public:
static std::shared_ptr<Camera> create(const std::string &name);
Camera(const Camera &) = delete;
void operator=(const Camera &) = delete;
const std::string &name() const;
private:
explicit Camera(const std::string &name);
~Camera();
std::string name_;
};
} /* namespace libcamera */
#endif /* __LIBCAMERA_CAMERA_H__ */
|