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
560 B
C++
33 lines
560 B
C++
#include "cexception.h"
|
|
#include "cconfigfile.h"
|
|
#include "cdirectories.h"
|
|
|
|
|
|
cConfigFile::cConfigFile()
|
|
{
|
|
}
|
|
|
|
cConfigFile::~cConfigFile()
|
|
{
|
|
}
|
|
|
|
QString cConfigFile::getDefaultPath() const
|
|
{
|
|
return(cDirectories::getInstance()->getUserPath());
|
|
}
|
|
|
|
QString cConfigFile::getAlternatePath() const
|
|
{
|
|
return(cDirectories::getInstance()->getSharedPath());
|
|
}
|
|
|
|
QString cConfigFile::getLastResortPath() const
|
|
{
|
|
return(cDirectories::getInstance()->getResourcePath());
|
|
}
|
|
|
|
QString cConfigFile::getStoragePath() const
|
|
{
|
|
return(cDirectories::getInstance()->getUserPath());
|
|
}
|