Files
NazaraEngine/include/Nazara/Core/Resource.hpp
SirLynix 5130a2ff84 Remove Config.hpp options and refactor headers
- Rename Config.hpp to Export.hpp
- Remove Debug.hpp and DebugOff.hpp (not used anymore)
2024-02-19 15:11:34 +01:00

37 lines
887 B
C++

// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com)
// This file is part of the "Nazara Engine - Core module"
// For conditions of distribution and use, see copyright notice in Export.hpp
#pragma once
#ifndef NAZARA_CORE_RESOURCE_HPP
#define NAZARA_CORE_RESOURCE_HPP
#include <NazaraUtils/Prerequisites.hpp>
#include <Nazara/Core/Export.hpp>
#include <filesystem>
namespace Nz
{
class NAZARA_CORE_API Resource
{
public:
Resource() = default;
Resource(const Resource&) = default;
Resource(Resource&&) noexcept = default;
virtual ~Resource();
const std::filesystem::path& GetFilePath() const;
void SetFilePath(std::filesystem::path filePath);
Resource& operator=(const Resource&) = default;
Resource& operator=(Resource&&) noexcept = default;
private:
std::filesystem::path m_filePath;
};
}
#endif // NAZARA_CORE_RESOURCE_HPP