MiniDisplay/minidisplay_plugin.h
author sl
Thu, 29 May 2014 14:27:08 +0200
changeset 15 737f8bb110be
permissions -rw-r--r--
Adding MiniDisplay methods to display image and window.
Using our test tab to render our display frame in QML and send it to our display.
Using a timer and frame counter to profile our performance.
sl@2
     1
#ifndef MINIDISPLAY_PLUGIN_H
sl@2
     2
#define MINIDISPLAY_PLUGIN_H
sl@2
     3
sl@2
     4
#include <QQmlExtensionPlugin>
sl@2
     5
sl@2
     6
class MiniDisplayPlugin : public QQmlExtensionPlugin
sl@2
     7
{
sl@2
     8
    Q_OBJECT
sl@2
     9
    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
sl@2
    10
sl@2
    11
public:
sl@2
    12
    void registerTypes(const char *uri);
sl@2
    13
};
sl@2
    14
sl@2
    15
#endif // MINIDISPLAY_PLUGIN_H
sl@2
    16