2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 05:47:42 +00:00

various implementations

This commit is contained in:
Jack Andersen
2015-08-19 16:52:07 -10:00
parent e1d45fd01c
commit 746eb46026
34 changed files with 643 additions and 23 deletions

View File

@@ -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);
};
}