mirror of
https://github.com/libretro/Mesen.git
synced 2024-11-24 01:29:41 +00:00
e7e77ccfa7
Fixed exception throwing to be standard
22 lines
715 B
C++
22 lines
715 B
C++
#pragma once
|
|
|
|
#include "stdafx.h"
|
|
|
|
#include "IMessageManager.h"
|
|
#include "INotificationListener.h"
|
|
|
|
class MessageManager
|
|
{
|
|
private:
|
|
static IMessageManager* _messageManager;
|
|
static list<INotificationListener*> _notificationListeners;
|
|
|
|
public:
|
|
static void RegisterMessageManager(IMessageManager* messageManager);
|
|
static void DisplayMessage(string title, string message = "");
|
|
static void DisplayToast(string title, string message, uint8_t* iconData, uint32_t iconSize);
|
|
|
|
static void RegisterNotificationListener(INotificationListener* notificationListener);
|
|
static void UnregisterNotificationListener(INotificationListener* notificationListener);
|
|
static void SendNotification(ConsoleNotificationType type);
|
|
}; |