Mesen/Core/MessageManager.h
Souryo 48409ae82b -Rewrote entire GUI in .NET
-Several other fixes (bugfixes, refactoring, etc.)
-Added a few more features to debugger
2015-07-01 23:17:14 -04:00

22 lines
720 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(wstring title, wstring message = L"");
static void DisplayToast(wstring title, wstring message, uint8_t* iconData, uint32_t iconSize);
static void RegisterNotificationListener(INotificationListener* notificationListener);
static void UnregisterNotificationListener(INotificationListener* notificationListener);
static void SendNotification(ConsoleNotificationType type);
};