30 lines
749 B
C++
30 lines
749 B
C++
/*
|
|
File: UserInterface.h
|
|
Description: Header file declaring the UserInterface class, which provides
|
|
the main entry point for the Vehicle Service System. Handles
|
|
login, customer registration, and menu navigation for different
|
|
user roles (Admin, Technician, Customer).
|
|
Author: Trenser
|
|
Date:19-May-2026
|
|
*/
|
|
#pragma once
|
|
#include "Controller.h"
|
|
#include "AdminMenu.h"
|
|
#include "TechnicianMenu.h"
|
|
#include "CustomerMenu.h"
|
|
|
|
class UserInterface
|
|
{
|
|
private:
|
|
Controller m_controller;
|
|
AdminMenu m_adminMenu;
|
|
TechnicianMenu m_technicianMenu;
|
|
CustomerMenu m_customerMenu;
|
|
bool handleOperation(int choice);
|
|
public:
|
|
UserInterface() {}
|
|
void run();
|
|
void login();
|
|
void registerCustomer();
|
|
};
|