diff --git a/host/ICapture.h b/host/ICapture.h index 9ea0e018..37d8d41d 100644 --- a/host/ICapture.h +++ b/host/ICapture.h @@ -58,15 +58,15 @@ enum GrabStatus typedef std::vector 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); -}; \ No newline at end of file + 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; +};