2022-03-10 15:35:01 +00:00
|
|
|
/***
|
|
|
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
|
|
|
|
File: LoopQueue.cpp
|
|
|
|
Date: 2022-3-9
|
|
|
|
Author: Reece
|
|
|
|
***/
|
|
|
|
#pragma once
|
|
|
|
|
2022-07-06 02:40:09 +00:00
|
|
|
namespace Aurora::IO::Loop
|
|
|
|
{
|
|
|
|
struct ILoopEpilogueHook
|
|
|
|
{
|
|
|
|
virtual bool AddHook(const AuFunction<void()> &func) = 0;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2022-03-10 15:35:01 +00:00
|
|
|
#if defined(AURORA_IS_MODERNNT_DERIVED)
|
|
|
|
#include "LoopQueue.NT.hpp"
|
2022-04-05 10:11:19 +00:00
|
|
|
#elif defined(AURORA_PLATFORM_LINUX)
|
2022-03-10 15:35:01 +00:00
|
|
|
#include "LoopQueue.Linux.hpp"
|
|
|
|
#endif
|