qmlFrontend/hwengine.h
author unc0rr
Thu, 18 Sep 2014 23:02:05 +0400
branchqmlfrontend
changeset 10412 9a8d4efcf3fa
parent 10402 3313336c1ee0
child 10416 1c301054694d
permissions -rw-r--r--
- More flib IPC routines - Rework engine's uIO to use new IPC mechanism
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10402
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
     1
#ifndef HWENGINE_H
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
     2
#define HWENGINE_H
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
     3
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
     4
#include <QObject>
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
     5
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
     6
class HWEngine : public QObject
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
     7
{
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
     8
    Q_OBJECT
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
     9
public:
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    10
    explicit HWEngine(QObject *parent = 0);
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    11
    ~HWEngine();
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    12
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    13
    static void exposeToQML();
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    14
    Q_INVOKABLE void run();
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    15
    
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    16
signals:
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    17
    
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    18
public slots:
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    19
    
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    20
};
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    21
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    22
#endif // HWENGINE_H
3313336c1ee0 Let's get it started
unc0rr
parents:
diff changeset
    23