Documentation for Resource
Former-commit-id: 7da8bc4261566c89030eb0226a29b1a70183e68a
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user