-
Notifications
You must be signed in to change notification settings - Fork 0
/
clsMainMenu.h
59 lines (39 loc) · 1.32 KB
/
clsMainMenu.h
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#pragma once
#include "clsInputValidation.h"
#include "clsScreen.h"
#include "clsClientListScreen.h"
#include "clsAddClientScreen.h"
#include "clsDeleteScreen.h"
#include "clsUpdateClientScreen.h"
#include "clsFindClientScreen.h"
#include "clsTransactionsScreen.h"
#include "clsManageUsers.h"
#include "clsLoginScreen.h"
#include "clsLoginLogs.h"
#include "clsCurrencyMainScreen.h"
class clsMainMenu : protected clsScreen
{
enum enMainMenuOption
{
eListClients = 1, eAddNewClient = 2, eDeleteClient = 3,eDeleteAllClients=4,
eUpdateClient = 5, eFindClient = 6, eShowTransactionsMenue = 7,
eManageUsers = 8, eLoginLogs=9,eCurrencyExchange = 10, eLogout = 11
};
static void _ShowAllClientsScreen();
static void _ShowAddNewClientsScreen();
static void _ShowDeleteClientScreen();
static void _ShowDeleteAllClientsScreen();
static void _ShowUpdateClientScreen();
static void _ShowFindClientScreen();
static void _ShowTransactionsMenu();
static void _ShowManageUsersMenu();
static void _ShowLoginLogs();
static void _ShowCurrencyExchangeMainMenuScreen();
static void _PerfromMainMenuOption(enMainMenuOption Option);
static int _ReadMainMenuOption();
static void _GoBackToMainMenu();
static void _Logout();
static bool CheckPermission(clsUser::enPermissions Permission);
public:
static void ShowMainMenu();
};