mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 23:07:18 +00:00
[host] ICapture portable interface definition
This commit is contained in:
parent
a01d755ab5
commit
fdfa3006b4
@ -58,15 +58,15 @@ enum GrabStatus
|
|||||||
|
|
||||||
typedef std::vector<const char *> CaptureOptions;
|
typedef std::vector<const char *> CaptureOptions;
|
||||||
|
|
||||||
__interface ICapture
|
class ICapture
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
const char * GetName();
|
virtual const char * GetName() = 0;
|
||||||
|
|
||||||
bool Initialize(CaptureOptions * options);
|
virtual bool Initialize(CaptureOptions * options) = 0;
|
||||||
void DeInitialize();
|
virtual void DeInitialize() = 0;
|
||||||
bool ReInitialize();
|
virtual bool ReInitialize() = 0;
|
||||||
enum FrameType GetFrameType();
|
virtual enum FrameType GetFrameType() = 0;
|
||||||
size_t GetMaxFrameSize();
|
virtual size_t GetMaxFrameSize() = 0;
|
||||||
enum GrabStatus GrabFrame(struct FrameInfo & frame);
|
virtual enum GrabStatus GrabFrame(struct FrameInfo & frame) = 0;
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user