Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ae37b83cbc | |||
| 8aaa4eeec0 |
+7
-1
@@ -153,9 +153,12 @@
|
||||
<ClCompile Include="core\sharedmemory\SharedMemory.cpp">
|
||||
<Filter>Source Files\Core\SharedMemory</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="EventManager.cpp">
|
||||
<ClCompile Include="core\events\EventManager.cpp">
|
||||
<Filter>Source Files\Core\Events</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="views\Menu.cpp">
|
||||
<Filter>Source Files\Views</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="utilities\InputHelper.h">
|
||||
@@ -287,5 +290,8 @@
|
||||
<ClInclude Include="core\events\EventManager.h">
|
||||
<Filter>Header Files\Core\Events</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="views\Menu.h">
|
||||
<Filter>Header Files\Views</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
+2
-3
@@ -51,7 +51,6 @@ bool AuthenticationManagementService::login(const std::string& username, const s
|
||||
},
|
||||
[]()
|
||||
{
|
||||
HANDLE eventHandle = OpenEventA(EVENT_MODIFY_STATE, FALSE, "VehicleServiceSystem_NotificationAvailable");
|
||||
if (m_notificationsAvailableEvent)
|
||||
{
|
||||
SetEvent(m_notificationsAvailableEvent);
|
||||
@@ -124,8 +123,8 @@ Parameter: HANDLE accountDisabledEvent - account disabled event handle
|
||||
HANDLE notificationAvailableEvent - notification event handle
|
||||
Return type: void
|
||||
*/
|
||||
void AuthenticationManagementService::registerEvents(HANDLE accountDisabledEvent, HANDLE notifictionAvailableEvent)
|
||||
void AuthenticationManagementService::registerEvents(HANDLE accountDisabledEvent, HANDLE notificationAvailableEvent)
|
||||
{
|
||||
m_accountDisabledEvent = accountDisabledEvent;
|
||||
m_notificationsAvailableEvent = notifictionAvailableEvent;
|
||||
m_notificationsAvailableEvent = notificationAvailableEvent;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user