- Remove --port command
- Some refactoring here and there
- Try to get preview from engine, which doesn't work due to some ABI mismatch, probably shouldn't try to pass string255 to pascal
#ifndef HWENGINE_H
#define HWENGINE_H
#include <QObject>
#include <QByteArray>
#include <QVector>
#include "flib.h"
class HWEngine : public QObject
{
Q_OBJECT
public:
explicit HWEngine(QObject *parent = 0);
~HWEngine();
static void exposeToQML();
Q_INVOKABLE void run();
signals:
public slots:
private:
QList<QByteArray> m_argsList;
QVector<char *> m_args;
static void engineMessageCallback(void *context, string255 str);
void sendIPC(const QByteArray &b);
};
#endif // HWENGINE_H