51 lines
2.0 KiB
C++
51 lines
2.0 KiB
C++
/*
|
|
* File: ZenvyController.h
|
|
* Description : Controls data flow between UI and Service Layers.
|
|
* Author: Trenser
|
|
* Created : 01-Apr-2026
|
|
*/
|
|
|
|
#pragma once
|
|
#include <utility>
|
|
#include "AuthenticationManagementService.h"
|
|
#include "AttendanceManagementService.h"
|
|
#include "BookingManagementService.h"
|
|
#include "EmployeeManagememtService.h"
|
|
#include "LeaveManagementService.h"
|
|
#include "NotificationManagementService.h"
|
|
#include "PayslipManagementService.h"
|
|
#include "TalentAcquisitionManagementService.h"
|
|
#include "TeamManagementService.h"
|
|
#include "TicketManagementService.h"
|
|
#include "Enums.h"
|
|
|
|
class ZenvyController
|
|
{
|
|
private:
|
|
AuthenticationManagementService* m_authenticationManagementService;
|
|
AttendanceManagementService* m_attendanceManagementService;
|
|
BookingManagementService* m_bookingManagementService;
|
|
EmployeeManagememtService* m_employeeManagememtService;
|
|
LeaveManagementService* m_leaveManagementService;
|
|
NotificationManagementService* m_notificationManagementService;
|
|
PayslipManagementService* m_payslipManagementService;
|
|
TalentAcquisitionManagementService* m_talentAcquisitionManagementService;
|
|
TeamManagementService* m_teamManagementService;
|
|
TicketManagementService* m_ticketManagementService;
|
|
public:
|
|
ZenvyController() :
|
|
m_authenticationManagementService(new AuthenticationManagementService()),
|
|
m_attendanceManagementService(new AttendanceManagementService()),
|
|
m_bookingManagementService(new BookingManagementService()),
|
|
m_employeeManagememtService(new EmployeeManagememtService()),
|
|
m_leaveManagementService(new LeaveManagementService()),
|
|
m_notificationManagementService(new NotificationManagementService()),
|
|
m_payslipManagementService(new PayslipManagementService()),
|
|
m_talentAcquisitionManagementService(new TalentAcquisitionManagementService()),
|
|
m_teamManagementService(new TeamManagementService()),
|
|
m_ticketManagementService(new TicketManagementService()) {};
|
|
AuthenticationDTO login(const std::string& email, const std::string& password);
|
|
void logout();
|
|
void changePassword(const std::string&);
|
|
~ZenvyController();
|
|
}; |