Molybden API
Loading...
Searching...
No Matches
capture_source.hpp
1// Copyright (c) 2000-2023 TeamDev Ltd. All rights reserved.
2// TeamDev PROPRIETARY and CONFIDENTIAL.
3// Use is subject to license terms.
4
5#ifndef MOLYBDEN_CAPTURE_SOURCE_HPP
6#define MOLYBDEN_CAPTURE_SOURCE_HPP
7
8#include <string>
9
10#include "molybden/ui/bitmap.hpp"
11
12namespace molybden {
13
17enum class CaptureSourceType {
18 kUnspecified,
19
23 kScreen,
24
28 kWindow,
29
33 kBrowser
34};
35
40 public:
45
49 std::string name;
50
54 CaptureSourceType type;
55
59 uint32_t id;
60};
61
62} // namespace molybden
63
64#endif // MOLYBDEN_CAPTURE_SOURCE_HPP
The source for a content capture session.
Definition capture_source.hpp:39
std::string name
The name of the capture source.
Definition capture_source.hpp:49
Bitmap thumbnail
The bitmap that contains the image of the capture source.
Definition capture_source.hpp:44
CaptureSourceType type
The type of this capture source.
Definition capture_source.hpp:54
uint32_t id
The unique identifier of this capture source.
Definition capture_source.hpp:59
A binary image in the BGRA format.
Definition bitmap.hpp:17