AuroraRuntime/Source/IO/Loop/LSWin32.NT.hpp

27 lines
729 B
C++

/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: LSWin32.NT.hpp
Date: 2021-10-2
Author: Reece
***/
#pragma once
namespace Aurora::IO::Loop
{
struct Win32Dummy : ILoopSource
{
Win32Dummy(bool bIsPumping) : bIsPumping_(bIsPumping)
{}
const bool bIsPumping_;
bool IsSignaled() override;
bool IsSignaledExt(AuUInt8 uFlags) override;
bool WaitOn(AuUInt32 timeout) override;
ELoopSource GetType() override;
bool WaitOnExt(AuUInt8 uFlags, AuUInt32 uTimeoutRelMS) override;
bool WaitOnAbs(AuUInt64 uTimeoutAbs) override;
bool WaitOnAbsExt(AuUInt8 uFlags, AuUInt64 uTimeoutAbs) override;
};
}