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