[*] Amended protostack api: ::GetParent() should not be using the internal type

This commit is contained in:
Reece Wilson 2024-01-12 14:14:17 +00:00
parent 927b5a2eef
commit 363560e9e9
3 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@
namespace Aurora::IO::Protocol
{
struct ProtocolStack;
struct IProtocolStack;
struct IProtocolPiece
{
@ -17,7 +17,7 @@ namespace Aurora::IO::Protocol
* @brief
* @return
*/
virtual AuSPtr<ProtocolStack> GetParent() = 0;
virtual AuSPtr<IProtocolStack> GetParent() = 0;
/**
* @brief

View File

@ -15,7 +15,7 @@
namespace Aurora::IO::Protocol
{
AuSPtr<ProtocolStack> ProtocolPiece::GetParent()
AuSPtr<IProtocolStack> ProtocolPiece::GetParent()
{
if (this->pParent)

View File

@ -29,7 +29,7 @@ namespace Aurora::IO::Protocol
AuUInt64 uStartingSize {};
friend struct ProtocolStack; // IProtocolPiece::PrivateUserDataClear()
AuSPtr<ProtocolStack> GetParent() override;
AuSPtr<IProtocolStack> GetParent() override;
AuSPtr<IProtocolPiece> GetNextPiece() override;
AuSPtr<IProtocolPiece> GetPreviousPiece() override;
bool ReallocateDrainBuffer(AuUInt32 uOutputLength) override;