-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMenuBuilder.h.in
More file actions
23 lines (22 loc) · 804 Bytes
/
MenuBuilder.h.in
File metadata and controls
23 lines (22 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef MENU_BUILDER_HPP
#define MENU_BUILDER_HPP
#include <iostream>
#include <Entities/LoanBook.hpp>
#include <Controllers/BooksController.hpp>
#include <Controllers/UserController.hpp>
#include <Controllers/LoanBookController.hpp>
#include <Views/MenuView.hpp>
class MenuBuilder
{
private:
/* data */
BooksController* booksController; // Pointer to BooksController instance
UserController* userController; // Pointer to UserController instance
LoanBookController* loanBookController; // Pointer to LoanBookController instance
MenuView* menuView; // Pointer to MenuView instance
public:
MenuBuilder(BooksController& booksController, UserController& userController, LoanBookController& loanBookController);
void BuildMenu();
~MenuBuilder();
};
#endif // MENU_BUILDER_HPP