mirror of
https://github.com/libretro/Mesen.git
synced 2024-11-30 12:30:52 +00:00
c877f73891
+ Fixed movie recording/playback (for .mmo files)
19 lines
498 B
C++
19 lines
498 B
C++
#pragma once
|
|
#include "stdafx.h"
|
|
#include "INotificationListener.h"
|
|
#include "../Utilities/SimpleLock.h"
|
|
|
|
class NotificationManager
|
|
{
|
|
private:
|
|
SimpleLock _lock;
|
|
vector<weak_ptr<INotificationListener>> _listenersToAdd;
|
|
vector<weak_ptr<INotificationListener>> _listeners;
|
|
|
|
void CleanupNotificationListeners();
|
|
|
|
public:
|
|
void RegisterNotificationListener(shared_ptr<INotificationListener> notificationListener);
|
|
void SendNotification(ConsoleNotificationType type, void* parameter = nullptr);
|
|
};
|