You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
578 B
C++
33 lines
578 B
C++
#include "cdirectories.h"
|
|
#include "cexception.h"
|
|
#include "cresourcefile.h"
|
|
|
|
|
|
cResourceFile::cResourceFile()
|
|
{
|
|
}
|
|
|
|
cResourceFile::~cResourceFile()
|
|
{
|
|
}
|
|
|
|
QString cResourceFile::getDefaultPath() const
|
|
{
|
|
return(cDirectories::getInstance()->getDataPath());
|
|
}
|
|
|
|
QString cResourceFile::getAlternatePath() const
|
|
{
|
|
return(cDirectories::getInstance()->getSharedPath());
|
|
}
|
|
|
|
QString cResourceFile::getLastResortPath() const
|
|
{
|
|
return(cDirectories::getInstance()->getResourcePath());
|
|
}
|
|
|
|
QString cResourceFile::getStoragePath() const
|
|
{
|
|
return(cDirectories::getInstance()->getDataPath());
|
|
}
|