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
205 lines
10 KiB
XML
205 lines
10 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
<ProjectConfiguration Include="Debug|Win32">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|Win32">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Debug|x64">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|x64">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
</ItemGroup>
|
|
<PropertyGroup Label="Globals">
|
|
<VCProjectVersion>17.0</VCProjectVersion>
|
|
<Keyword>Win32Proj</Keyword>
|
|
<ProjectGuid>{39066b41-9568-48d7-bc70-e5ee9c486859}</ProjectGuid>
|
|
<RootNamespace>TrenserVehicleServiceSystem</RootNamespace>
|
|
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
<PlatformToolset>v143</PlatformToolset>
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
<PlatformToolset>v143</PlatformToolset>
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
<PlatformToolset>v143</PlatformToolset>
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
<PlatformToolset>v143</PlatformToolset>
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
<ImportGroup Label="ExtensionSettings">
|
|
</ImportGroup>
|
|
<ImportGroup Label="Shared">
|
|
</ImportGroup>
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<PropertyGroup Label="UserMacros" />
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<ClCompile>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<SDLCheck>true</SDLCheck>
|
|
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<ConformanceMode>true</ConformanceMode>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Console</SubSystem>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<ClCompile>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
<SDLCheck>true</SDLCheck>
|
|
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<ConformanceMode>true</ConformanceMode>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Console</SubSystem>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<ClCompile>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<SDLCheck>true</SDLCheck>
|
|
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<ConformanceMode>true</ConformanceMode>
|
|
<AdditionalIncludeDirectories>$(ProjectDir)models;$(ProjectDir)controllers;$(ProjectDir)factories;$(ProjectDir)views;$(ProjectDir)services;$(ProjectDir)utilities;$(ProjectDir)core\patterns;$(ProjectDir)datastores;$(ProjectDir)core\sharedmemory;$(ProjectDir)core\events;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Console</SubSystem>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<ClCompile>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
<SDLCheck>true</SDLCheck>
|
|
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<ConformanceMode>true</ConformanceMode>
|
|
<AdditionalIncludeDirectories>$(ProjectDir)models;$(ProjectDir)controllers;$(ProjectDir)factories;$(ProjectDir)views;$(ProjectDir)services;$(ProjectDir)utilities;$(ProjectDir)core\patterns;$(ProjectDir)datastores;$(ProjectDir)core\sharedmemory;$(ProjectDir)core\events;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Console</SubSystem>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="controllers\Controller.cpp" />
|
|
<ClCompile Include="core\events\EventManager.cpp" />
|
|
<ClCompile Include="core\patterns\Observer.cpp" />
|
|
<ClCompile Include="core\patterns\Subject.cpp" />
|
|
<ClCompile Include="core\sharedmemory\SharedMemory.cpp" />
|
|
<ClCompile Include="datastores\DataStore.cpp" />
|
|
<ClCompile Include="models\ComboPackage.cpp" />
|
|
<ClCompile Include="models\InventoryItem.cpp" />
|
|
<ClCompile Include="models\Invoice.cpp" />
|
|
<ClCompile Include="models\JobCard.cpp" />
|
|
<ClCompile Include="models\Notification.cpp" />
|
|
<ClCompile Include="models\Service.cpp" />
|
|
<ClCompile Include="models\ServiceBooking.cpp" />
|
|
<ClCompile Include="models\User.cpp" />
|
|
<ClCompile Include="services\AuthenticationManagementService.cpp" />
|
|
<ClCompile Include="services\InventoryManagementService.cpp" />
|
|
<ClCompile Include="services\PaymentManagementService.cpp" />
|
|
<ClCompile Include="services\ServiceManagementService.cpp" />
|
|
<ClCompile Include="services\UserManagementService.cpp" />
|
|
<ClCompile Include="Trenser.VehicleServiceSystem.cpp" />
|
|
<ClCompile Include="utilities\Timestamp.cpp" />
|
|
<ClCompile Include="utilities\Validator.cpp" />
|
|
<ClCompile Include="views\AdminMenu.cpp" />
|
|
<ClCompile Include="views\CustomerMenu.cpp" />
|
|
<ClCompile Include="views\Menu.cpp" />
|
|
<ClCompile Include="views\TechnicianMenu.cpp" />
|
|
<ClCompile Include="views\UserInterface.cpp" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="controllers\Controller.h" />
|
|
<ClInclude Include="core\events\EventManager.h" />
|
|
<ClInclude Include="core\patterns\Observer.h" />
|
|
<ClInclude Include="core\patterns\Subject.h" />
|
|
<ClInclude Include="core\sharedmemory\FileHeader.h" />
|
|
<ClInclude Include="core\sharedmemory\MappingInfo.h" />
|
|
<ClInclude Include="core\sharedmemory\RecordState.h" />
|
|
<ClInclude Include="core\sharedmemory\SerializedRecords.h" />
|
|
<ClInclude Include="core\sharedmemory\SharedMemory.h" />
|
|
<ClInclude Include="core\sharedmemory\TrackedRecord.h" />
|
|
<ClInclude Include="datastores\DataStore.h" />
|
|
<ClInclude Include="datastores\DataStoreLockGuard.h" />
|
|
<ClInclude Include="factories\Factory.h" />
|
|
<ClInclude Include="models\ComboPackage.h" />
|
|
<ClInclude Include="models\InventoryItem.h" />
|
|
<ClInclude Include="models\Invoice.h" />
|
|
<ClInclude Include="models\JobCard.h" />
|
|
<ClInclude Include="models\Notification.h" />
|
|
<ClInclude Include="models\Service.h" />
|
|
<ClInclude Include="models\ServiceBooking.h" />
|
|
<ClInclude Include="models\User.h" />
|
|
<ClInclude Include="services\AuthenticationManagementService.h" />
|
|
<ClInclude Include="services\InventoryManagementService.h" />
|
|
<ClInclude Include="services\NotificationManagementService.h" />
|
|
<ClInclude Include="services\PaymentManagementService.h" />
|
|
<ClInclude Include="services\ServiceManagementService.h" />
|
|
<ClInclude Include="services\UserManagementService.h" />
|
|
<ClInclude Include="utilities\Config.h" />
|
|
<ClInclude Include="utilities\Enums.h" />
|
|
<ClInclude Include="utilities\FileHelper.h" />
|
|
<ClInclude Include="utilities\InputHelper.h" />
|
|
<ClInclude Include="utilities\Map.h" />
|
|
<ClInclude Include="utilities\OutputHelper.h" />
|
|
<ClInclude Include="utilities\StringHelper.h" />
|
|
<ClInclude Include="utilities\Timestamp.h" />
|
|
<ClInclude Include="utilities\Utility.h" />
|
|
<ClInclude Include="utilities\Validator.h" />
|
|
<ClInclude Include="utilities\Vector.h" />
|
|
<ClInclude Include="views\AdminMenu.h" />
|
|
<ClInclude Include="views\CustomerMenu.h" />
|
|
<ClInclude Include="views\Menu.h" />
|
|
<ClInclude Include="views\MenuHelper.h" />
|
|
<ClInclude Include="views\TechnicianMenu.h" />
|
|
<ClInclude Include="views\UserInterface.h" />
|
|
</ItemGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
<ImportGroup Label="ExtensionTargets">
|
|
</ImportGroup>
|
|
</Project> |