-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMenu.h
More file actions
35 lines (33 loc) · 698 Bytes
/
Menu.h
File metadata and controls
35 lines (33 loc) · 698 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef MENU_H
#define MENU_H
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <iomanip>
#include "MyNamespace.h"
#include "Date.h"
#include "Person.h"
#include "Member.h"
#include "Book.h"
#include "Librarian.h"
#include "Logic.h"
#include "Global.h"
namespace MyNamespace {
class Logic;
class Menu {
private:
Librarian* librarian;
std::string fileName;
Logic* logic;
public:
Menu(const std::string& fileName);
void welcomeMessage();
void displayBooks(std::vector<std::vector<std::string>> fileContent);
void displayOptions();
void handleMenu();
void displayMembers();
void displayBorrowedBooks();
};
}
#endif