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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user