OdbDesignLib
OdbDesign ODB++ Parsing Library
IOdbServerApp.h
1 #pragma once
2 
3 #include "IOdbApp.h"
4 #include "../odbdesign_export.h"
5 #include "RequestAuthenticationBase.h"
6 
7 namespace Odb::Lib::App
8 {
9  class ODBDESIGN_EXPORT IOdbServerApp : public virtual IOdbApp
10  {
11  public:
12  virtual ~IOdbServerApp() {}
13 
14  virtual CrowApp& crow_app() = 0;
15  virtual RequestAuthenticationBase& request_auth() = 0;
16  virtual void request_auth(std::unique_ptr<RequestAuthenticationBase> requestAuthentication) = 0;
17 
18  protected:
19  IOdbServerApp() = default;
20 
21  };
22 }