-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMenu.hpp
More file actions
33 lines (28 loc) · 787 Bytes
/
Copy pathMenu.hpp
File metadata and controls
33 lines (28 loc) · 787 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
/*********************************************************************
** Program name: Project4
** Author: James Scanlon
** Date: March 3, 2019
** Description: The interface for 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 */