Error fixes and added main method function and objects

<SRS> SRS01 : Authentication </SRS>

 <Changes>
  - Fixed polymorphism errors in Employee base class by adding virtual destructor.
  - Corrected constructor mismatch in GeneralEmployee to properly call Employee constructor with EmployeeType.
  - Created UserInterface object in main() and invoked run() to start role-based menus.
 </Changes>

 <Review>
   Smitha Mohan
 </Review>
This commit is contained in:
Tinu Johnson
2026-04-06 17:39:09 +05:30
parent 719bf5e7b3
commit 18afdc4189
13 changed files with 126 additions and 123 deletions
@@ -31,7 +31,7 @@ bool AdminMenu::handleOperation(int choice)
{
switch (choice)
{
case 1:
/*case 1:
m_zenvyController.createHRManager();
break;
case 2:
@@ -42,7 +42,7 @@ bool AdminMenu::handleOperation(int choice)
break;
case 4:
m_zenvyController.deactivateEmployee();
break;
break;*/
case 5:
return false;
default: