qmlFrontend/hwengine.h
branchqmlfrontend
changeset 10424 4be6cd55f1cf
parent 10420 02c573d19224
child 10426 727a154cf784
--- a/qmlFrontend/hwengine.h	Fri Sep 26 00:56:36 2014 +0400
+++ b/qmlFrontend/hwengine.h	Sat Sep 27 12:49:08 2014 +0400
@@ -19,6 +19,7 @@
 
     static void exposeToQML();
     Q_INVOKABLE void run();
+    Q_INVOKABLE QString currentSeed();
     
 signals:
     void previewImageChanged();
@@ -29,6 +30,7 @@
     QList<QByteArray> m_argsList;
     QVector<const char *> m_args;
     QQmlEngine * m_engine;
+    QString m_seed;
 
     static void engineMessageCallback(void *context, const char * msg, quint32 len);
     void sendIPC(const QByteArray &b);