mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 05:47:42 +00:00
various implementations
This commit is contained in:
@@ -1,11 +1,25 @@
|
||||
#ifndef __RETRO_CIOWINMANAGER_HPP__
|
||||
#define __RETRO_CIOWINMANAGER_HPP__
|
||||
|
||||
#include <memory>
|
||||
#include "CIOWin.hpp"
|
||||
|
||||
namespace Retro
|
||||
{
|
||||
|
||||
class CIOWinManager
|
||||
{
|
||||
struct IOWinPQNode
|
||||
{
|
||||
std::shared_ptr<CIOWin> m_iowin;
|
||||
int m_prio;
|
||||
CIOWinManager::IOWinPQNode* m_prev;
|
||||
IOWinPQNode(std::weak_ptr<CIOWin> iowin, int prio,
|
||||
CIOWinManager::IOWinPQNode* prev)
|
||||
: m_iowin(iowin), m_prio(prio), m_prev(prev) {}
|
||||
std::shared_ptr<CIOWin> GetIOWin() const {return m_iowin;}
|
||||
};
|
||||
bool OnIOWinMessage(const CArchitectureMessage& msg);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user