-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMenu.hpp
More file actions
32 lines (28 loc) · 786 Bytes
/
Copy pathMenu.hpp
File metadata and controls
32 lines (28 loc) · 786 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
/*********************************************************************
** Program name: FinalProject
** Author: James Scanlon
** Date: March 19, 2019
** Description: Interface of the Menu class.
*********************************************************************/
#ifndef Menu_hpp
#define Menu_hpp
#include <stdio.h>
#include <iostream>
#include <string>
#include <vector>
using std::vector;
using std::string;
class Menu {
private:
vector<string> menuChoices;
string promptText;
public:
Menu(vector<string> menuChoices);
Menu(string promptText, vector<string> menuChoices);
int showMenu();
void setPromptText(string text);
string getPromptText();
void setMenuChoices(vector<string> menuChoices);
~Menu();
};
#endif /* Menu_hpp */