-
Notifications
You must be signed in to change notification settings - Fork 0
/
Menu.hpp
35 lines (31 loc) · 845 Bytes
/
Menu.hpp
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
/**********************************************************
** Program name: Menu.hpp
** Author: Ben Fridkis
** Date: 5/3/2017
** Description: Header file for Menu.cpp source file.
Declares Menu class.
***********************************************************/
#ifndef Menu_hpp
#define Menu_hpp
#include "InputValidation.hpp"
#include "MenuInputValidation.hpp"
#include <iostream>
#include <memory>
using std::cout;
using std::cin;
using std::endl;
using std::shared_ptr;
using std::make_shared;
class Menu
{
protected:
int numberOfSelections;
int userSelection;
public:
int menu();
int getNumberOfSelections() const;
void setNumberOfSelections(int numSelections);
int getUserSelection() const;
void setUserSelection(int userSelection);
};
#endif /* Menu_hpp */