OdbDesignLib
OdbDesign ODB++ Parsing Library
IOdbApp.h
1 #pragma once
2 
3 #include "OdbDesignArgs.h"
4 #include "DesignCache.h"
5 #include "ExitCode.h"
6 #include "../odbdesign_export.h"
7 
8 namespace Odb::Lib::App
9 {
10  class ODBDESIGN_EXPORT IOdbApp
11  {
12  public:
13  virtual ~IOdbApp() {}
14 
15  virtual const OdbDesignArgs& args() const = 0;
16  virtual DesignCache& designs() = 0;
17 
18  virtual Utils::ExitCode Run() = 0;
19 
20  protected:
21  // abstract class/interface
22  IOdbApp() = default;
23 
24  };
25 }