// Copyright (C) 2015 Jérôme Leclercq // This file is part of the "Nazara Engine - Core module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_ABSTRACTHASH_HPP #define NAZARA_ABSTRACTHASH_HPP #include #include class NzHashDigest; class NAZARA_API NzAbstractHash : NzNonCopyable { public: NzAbstractHash() = default; virtual ~NzAbstractHash(); virtual void Append(const nzUInt8* data, unsigned int len) = 0; virtual void Begin() = 0; virtual NzHashDigest End() = 0; }; #endif // NAZARA_ABSTRACTHASH_HPP