xrdp/vrplayer/decoder.h

40 lines
741 B
C
Raw Normal View History

2012-12-09 04:36:41 +04:00
#ifndef DECODER_H
#define DECODER_H
#include <QObject>
#include <QDebug>
#include <QRect>
#ifdef __cplusplus
#define __STDC_CONSTANT_MACROS
#ifdef _STDINT_H
#undef _STDINT_H
#endif
#include <stdint.h>
#endif
#include <libavformat/avformat.h>
#include <xrdpapi.h>
#include <xrdpvr.h> /* LK_TODO is this required? */
class Decoder : public QObject
{
2021-05-08 19:58:11 +03:00
Q_OBJECT
public:
explicit Decoder(QObject *parent = 0);
int init(QString filename);
//int deinit();
//int setWindow(QRectangle rect);
2012-12-09 04:36:41 +04:00
2021-05-08 19:58:11 +03:00
private:
void *channel;
QRect mainWindowGeometry;
2012-12-09 04:36:41 +04:00
2021-05-08 19:58:11 +03:00
signals:
2012-12-09 04:36:41 +04:00
public slots: // cppcheck-suppress unknownMacro
2021-05-08 19:58:11 +03:00
void onGeometryChanged(QRect *geometry);
2012-12-09 04:36:41 +04:00
};
#endif // DECODER_H