peerplays_migrated/programs/full_web_node/BlockChain.hpp

29 lines
489 B
C++
Raw Normal View History

2015-08-12 18:56:33 +00:00
#pragma once
2015-08-14 19:09:21 +00:00
#include <fc/thread/future.hpp>
2015-08-12 18:56:33 +00:00
#include <QObject>
class QTimer;
class QThread;
namespace fc { class thread; }
namespace graphene { namespace app { class application; } }
class BlockChain : public QObject {
Q_OBJECT
2015-08-14 19:09:21 +00:00
fc::thread* chainThread;
2015-08-12 18:56:33 +00:00
QTimer* fcTaskScheduler;
graphene::app::application* grapheneApp;
2015-08-14 19:09:21 +00:00
fc::future<void> startFuture;
2015-08-12 18:56:33 +00:00
public:
BlockChain();
virtual ~BlockChain();
public Q_SLOTS:
void start();
2015-08-14 19:09:21 +00:00
Q_SIGNALS:
void started();
2015-08-12 18:56:33 +00:00
};