8aaa4eeec0
Changes: - Implements #2061 - Introduce EventManager for user-specific Windows event publishing/listening - Add real-time notification and account-disabled event propagation - Register authentication events through Controller and AuthenticationManagementService - Trigger notification events from Inventory, Payment, and Service Management modules - Trigger account-disabled events when users are deactivated - Extract common menu event listener logic into Menu base class - Add notification popup handling for Admin, Customer, and Technician menus - Refactor shared memory components into core/sharedmemory - Update project structure and include paths for events and shared memory modules
26 lines
615 B
C++
26 lines
615 B
C++
/*
|
|
File: TechnicianMenu.h
|
|
Description: Header file declaring the TechnicianMenu class, which provides
|
|
technician operations such as job completion, notification viewing,
|
|
password management, and logout functionality.
|
|
Author: Trenser
|
|
Date:19-May-2026
|
|
*/
|
|
|
|
#pragma once
|
|
#include "Controller.h"
|
|
#include "Menu.h"
|
|
|
|
class TechnicianMenu : public Menu
|
|
{
|
|
private:
|
|
bool handleOperation(int choice);
|
|
void handleNotificationEvent();
|
|
public:
|
|
void showMenu();
|
|
void displayJobs();
|
|
void updateJobStatus();
|
|
void viewNotifications();
|
|
void logout();
|
|
void changePassword();
|
|
}; |