1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| #ifndef CAMERA_H
| #define CAMERA_H
|
| #include <string>
|
| class Camera {
| public:
| virtual void SetExplainUrl(const std::string& url, const std::string& token) = 0;
| virtual bool Capture() = 0;
| virtual bool SetHMirror(bool enabled) = 0;
| virtual bool SetVFlip(bool enabled) = 0;
| virtual bool SetSwapBytes(bool enabled) { return false; } // Optional, default no-op
| virtual std::string Explain(const std::string& question) = 0;
| };
|
| #endif // CAMERA_H
|
|