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