Documentation for Resource

Former-commit-id: 7da8bc4261566c89030eb0226a29b1a70183e68a
This commit is contained in:
Gawaboumga
2016-02-21 14:27:29 +01:00
parent e311dcb5d3
commit f16857fc6a
3 changed files with 175 additions and 9 deletions

View File

@@ -7,13 +7,29 @@
namespace Nz
{
/*!
* \class Nz::Resource
* \brief Core class that represents a resource
*/
Resource::~Resource() = default;
/*!
* \brief Gets the file path associated with the resource
* \return A reference to the path
*/
const String& Resource::GetFilePath() const
{
return m_filePath;
}
/*!
* \brief Sets the file path associated with the resource
*
* \param filePath Path to the resource
*/
void Resource::SetFilePath(const String& filePath)
{
m_filePath = filePath;