AuroraRuntime/Source/Loop/ILoopSourceEx.hpp

26 lines
678 B
C++

/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: ILoopSourceEx.hpp
Date: 2021-10-3
Author: Reece
***/
#pragma once
namespace Aurora::Loop
{
struct ILoopSourceEx : public ILoopSource
{
virtual void OnPresleep() = 0;
virtual bool OnTrigger(AuUInt handle) = 0;
virtual void OnFinishSleep() = 0;
virtual bool Singular() = 0;
virtual AuUInt GetHandle() = 0;
virtual AuList<AuUInt> GetHandles() = 0;
#if defined(AURORA_IS_POSIX_DERIVED)
virtual AuList<AuUInt> GetWriteHandles() = 0;
virtual AuUInt GetWriteHandle() = 0;
#endif
};
}