qmlFrontend/hwengine.h
branchqmlfrontend
changeset 10416 1c301054694d
parent 10402 3313336c1ee0
child 10418 091d2c0216c3
equal deleted inserted replaced
10414:50bcefec5bf6 10416:1c301054694d
     1 #ifndef HWENGINE_H
     1 #ifndef HWENGINE_H
     2 #define HWENGINE_H
     2 #define HWENGINE_H
     3 
     3 
     4 #include <QObject>
     4 #include <QObject>
       
     5 #include <QByteArray>
       
     6 #include <QVector>
       
     7 
       
     8 #include "flib.h"
     5 
     9 
     6 class HWEngine : public QObject
    10 class HWEngine : public QObject
     7 {
    11 {
     8     Q_OBJECT
    12     Q_OBJECT
     9 public:
    13 public:
    14     Q_INVOKABLE void run();
    18     Q_INVOKABLE void run();
    15     
    19     
    16 signals:
    20 signals:
    17     
    21     
    18 public slots:
    22 public slots:
    19     
    23 
       
    24 private:
       
    25     QList<QByteArray> m_argsList;
       
    26     QVector<char *> m_args;
       
    27 
       
    28     static void engineMessageCallback(void *context, string255 str);
       
    29     void sendIPC(const QByteArray &b);
    20 };
    30 };
    21 
    31 
    22 #endif // HWENGINE_H
    32 #endif // HWENGINE_H
    23 
    33