21 lines
520 B
C++
21 lines
520 B
C++
/***
|
|
Copyright (C) 2022-2023 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: IProtocolLimitable.hpp
|
|
Date: 2022-9-14
|
|
Date: 2023-7-27
|
|
Author: Reece
|
|
***/
|
|
#pragma once
|
|
|
|
namespace Aurora::IO::Protocol
|
|
{
|
|
struct IProtocolLimitable
|
|
{
|
|
virtual bool LimitHasHit() = 0;
|
|
virtual void LimitReset() = 0;
|
|
virtual void LimitSet(AuUInt uLength) = 0;
|
|
virtual bool LimitPassthroughOnOverflow(bool bPassthrough) = 0;
|
|
virtual AuUInt LimitGetIndex() = 0;
|
|
};
|
|
} |