Skip to content

Commit

Permalink
add type for vectors of RouteController's
Browse files Browse the repository at this point in the history
  • Loading branch information
nam20485 committed Oct 12, 2023
1 parent 313b487 commit 33174f6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion OdbDesignServer/Controllers/RouteController.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,23 @@

#include "../OdbDesignServer.h"
#include "crow.h"
#include "../OdbDesignServerApp.h"
//#include "../OdbDesignServerApp.h"


namespace Odb::App::Server
{
// forward declaration
class OdbDesignServerApp;

class RouteController
{
public:
RouteController(OdbDesignServerApp* pServerApp);

virtual void register_routes() = 0;

typedef std::vector<std::shared_ptr<RouteController>> Vector;

protected:
OdbDesignServerApp* m_pServerApp;

Expand Down

0 comments on commit 33174f6

Please sign in to comment.