mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
20 lines
383 B
C
20 lines
383 B
C
|
#ifndef VIDEOSOURCE_H
|
||
|
#define VIDEOSOURCE_H
|
||
|
|
||
|
#include <QSize>
|
||
|
|
||
|
class VideoSource
|
||
|
{
|
||
|
public:
|
||
|
virtual void* getData() = 0;
|
||
|
virtual int getDataSize() = 0;
|
||
|
virtual void lock() = 0;
|
||
|
virtual void unlock() = 0;
|
||
|
virtual QSize resolution() = 0;
|
||
|
virtual double fps() = 0;
|
||
|
virtual void subscribe() = 0;
|
||
|
virtual void unsubscribe() = 0;
|
||
|
};
|
||
|
|
||
|
#endif // VIDEOSOURCE_H
|