PIVX Core  5.6.99
P2P Digital Currency
prunnable.h
Go to the documentation of this file.
1 // Copyright (c) 2019 The PIVX Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef PIVX_QT_PRUNNABLE_H
6 #define PIVX_QT_PRUNNABLE_H
7 
8 #include <QString>
9 
10 class Runnable {
11 public:
12  virtual void run(int type) = 0;
13  virtual void onError(QString error, int type) = 0;
14 };
15 
16 #endif // PIVX_QT_PRUNNABLE_H
virtual void run(int type)=0
virtual void onError(QString error, int type)=0
bool error(const char *fmt, const Args &... args)
Definition: system.h:77