Kagome
Polkadot Runtime Engine in C++17
mode.hpp
Go to the documentation of this file.
1 
6 #ifndef KAGOME_APPLICATION_MODE
7 #define KAGOME_APPLICATION_MODE
8 
9 namespace kagome::application {
10 
12  class Mode {
13  public:
14  virtual ~Mode() = default;
15 
17  virtual int run() const = 0;
18  };
19 
20 } // namespace kagome::application
21 
22 #endif // KAGOME_APPLICATION_MODE
virtual int run() const =0
Runs application in this mode.
virtual ~Mode()=default
Special mode of running.
Definition: mode.hpp:12