mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
48d8781cdf
* - remove feature of using multiple config files for automaticly start other hyperion instances - add auto config file creation - tune service files * add auto path creation for initial default config * debian package: rename service to hyperiond remove copy of config file
20 lines
272 B
C++
20 lines
272 B
C++
#include <utils/FileUtils.h>
|
|
|
|
#include <QFileInfo>
|
|
|
|
namespace FileUtils {
|
|
|
|
QString getBaseName( QString sourceFile)
|
|
{
|
|
QFileInfo fi( sourceFile );
|
|
return fi.fileName();
|
|
}
|
|
|
|
QString getDirName( QString sourceFile)
|
|
{
|
|
QFileInfo fi( sourceFile );
|
|
return fi.path();
|
|
}
|
|
|
|
|
|
}; |