Renamed XImpl to AbstractX (More consistent)
Where * is Buffer, Hash and Shader Former-commit-id: a99681ab1d515c9b39e6ba5f447c9000ef1092b8
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/File.hpp>
|
||||
#include <Nazara/Core/AbstractHash.hpp>
|
||||
#include <Nazara/Core/Config.hpp>
|
||||
#include <Nazara/Core/Error.hpp>
|
||||
#include <Nazara/Core/Hash.hpp>
|
||||
#include <Nazara/Core/HashImpl.hpp>
|
||||
#include <Nazara/Core/StringStream.hpp>
|
||||
#include <cstring>
|
||||
#include <utility>
|
||||
@@ -631,7 +631,7 @@ NzHashDigest NzFile::GetHash(const NzString& filePath, nzHash hash)
|
||||
return h.Hash(file);
|
||||
}
|
||||
|
||||
NzHashDigest NzFile::GetHash(const NzString& filePath, NzHashImpl* hash)
|
||||
NzHashDigest NzFile::GetHash(const NzString& filePath, NzAbstractHash* hash)
|
||||
{
|
||||
NzFile file(filePath);
|
||||
|
||||
@@ -707,7 +707,7 @@ bool NzFile::Rename(const NzString& sourcePath, const NzString& targetPath)
|
||||
return NzFileImpl::Rename(NormalizePath(sourcePath), NormalizePath(targetPath));
|
||||
}
|
||||
|
||||
bool NzFile::FillHash(NzHashImpl* hash) const
|
||||
bool NzFile::FillHash(NzAbstractHash* hash) const
|
||||
{
|
||||
NzFile file(m_filePath);
|
||||
if (!file.Open(NzFile::ReadOnly))
|
||||
|
||||
@@ -56,7 +56,7 @@ NzHash::NzHash(nzHash hash)
|
||||
}
|
||||
}
|
||||
|
||||
NzHash::NzHash(NzHashImpl* hashImpl) :
|
||||
NzHash::NzHash(NzAbstractHash* hashImpl) :
|
||||
m_impl(hashImpl)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ NzHashDigest NzHashable::GetHash(nzHash hash) const
|
||||
return h.Hash(*this);
|
||||
}
|
||||
|
||||
NzHashDigest NzHashable::GetHash(NzHashImpl* impl) const
|
||||
NzHashDigest NzHashable::GetHash(NzAbstractHash* impl) const
|
||||
{
|
||||
NzHash h(impl);
|
||||
return h.Hash(*this);
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/String.hpp>
|
||||
#include <Nazara/Core/AbstractHash.hpp>
|
||||
#include <Nazara/Core/Config.hpp>
|
||||
#include <Nazara/Core/Error.hpp>
|
||||
#include <Nazara/Core/HashImpl.hpp>
|
||||
#include <Nazara/Core/Unicode.hpp>
|
||||
#include <Nazara/Math/Basic.hpp>
|
||||
#include <algorithm>
|
||||
@@ -5094,7 +5094,7 @@ void NzString::EnsureOwnership()
|
||||
}
|
||||
}
|
||||
|
||||
bool NzString::FillHash(NzHashImpl* hazh) const
|
||||
bool NzString::FillHash(NzAbstractHash* hazh) const
|
||||
{
|
||||
hazh->Append(reinterpret_cast<const nzUInt8*>(m_sharedString->string), m_sharedString->size);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user