#pragma once #include "stdafx.h" #include "INotificationListener.h" #include "../Utilities/SimpleLock.h" class NotificationManager { private: SimpleLock _lock; vector> _listenersToAdd; vector> _listeners; void CleanupNotificationListeners(); public: void RegisterNotificationListener(shared_ptr notificationListener); void SendNotification(ConsoleNotificationType type, void* parameter = nullptr); };