Move dependencies to the top level.

This commit is contained in:
jakcron
2022-04-16 18:27:14 +08:00
parent b67980d3d2
commit 5d62e839e7
844 changed files with 74 additions and 114431 deletions
@@ -1,28 +0,0 @@
/**
* @file IReadableSink.h
* @brief Declaration of tc::io::IReadableSink
* @author Jack (jakcron)
* @version 0.1
* @date 2020/02/07
**/
#pragma once
#include <tc/io/ISink.h>
#include <tc/io/ISource.h>
namespace tc { namespace io {
/**
* @class IReadableSink
* @brief An interface defining a byte data sink that can be also provide an ISource.
**/
class IReadableSink : public tc::io::ISink
{
public:
/// Destructor
virtual ~IReadableSink() = default;
/// Convert to ISource
virtual std::shared_ptr<tc::io::ISource>& toSource() = 0;
};
}} // namespace tc::io