1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/videosource.h

20 lines
383 B
C
Raw Normal View History

2014-10-07 22:59:21 +08:00
#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