19 lines
540 B
C++
19 lines
540 B
C++
|
/***
|
||
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
||
|
|
||
|
File: IIOWatachableIOLoopSource.hpp
|
||
|
Date: 2022-6-6
|
||
|
Author: Reece
|
||
|
***/
|
||
|
#pragma once
|
||
|
|
||
|
namespace Aurora::IO
|
||
|
{
|
||
|
struct IIOWatachableIOLoopSource : IIOWaitableItem
|
||
|
{
|
||
|
virtual AuSPtr<Loop::ILoopSource> GetLoopSource() = 0;
|
||
|
virtual AuSPtr<Loop::ILoopSource> SetLoopSource(const AuSPtr<Loop::ILoopSource> &ls) = 0;
|
||
|
};
|
||
|
|
||
|
AUKN_SYM AuSPtr<IIOWatachableIOLoopSource> NewWaitableLoopSource(const AuSPtr<Loop::ILoopSource> &ptr);
|
||
|
}
|