File: decoder.h

package info (click to toggle)
xrdp 0.10.1-4.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,760 kB
  • sloc: ansic: 104,065; sh: 5,506; asm: 4,742; cpp: 2,555; makefile: 1,369
file content (39 lines) | stat: -rw-r--r-- 741 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#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