7e514bf339
This fixes the following errors:- sesman/tools/authtest.c:64:14: error: syntax error [syntaxError] g_printf("xrdp auth module tester v" PACKAGE_VERSION "\n"); ^ sesman/tools/sesrun.c:165:14: error: syntax error [syntaxError] g_printf("xrdp session starter v" PACKAGE_VERSION "\n"); ^ vrplayer/decoder.h:35:12: error: There is an unknown macro here somewhere. Configuration is required. If slots is a macro then please configure it. [unknownMacro] public slots: ^ vrplayer/playaudio.h:45:12: error: There is an unknown macro here somewhere. Configuration is required. If slots is a macro then please configure it. [unknownMacro] public slots: ^ vrplayer/dlgabout.h:22:13: error: There is an unknown macro here somewhere. Configuration is required. If slots is a macro then please configure it. [unknownMacro] private slots: ^ vrplayer/playvideo.h:49:12: error: There is an unknown macro here somewhere. Configuration is required. If slots is a macro then please configure it. [unknownMacro] public slots: ^ Additionally, cppcheck now makes use of all available CPUs
40 lines
741 B
C++
40 lines
741 B
C++
#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
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit Decoder(QObject *parent = 0);
|
|
int init(QString filename);
|
|
//int deinit();
|
|
//int setWindow(QRectangle rect);
|
|
|
|
private:
|
|
void *channel;
|
|
QRect mainWindowGeometry;
|
|
|
|
signals:
|
|
|
|
public slots: // cppcheck-suppress unknownMacro
|
|
void onGeometryChanged(QRect *geometry);
|
|
};
|
|
|
|
#endif // DECODER_H
|