mirror of
https://github.com/overte-org/overte.git
synced 2025-07-04 16:49:54 +02:00
25 lines
645 B
C++
25 lines
645 B
C++
//
|
|
// PathUtils.h
|
|
// libraries/shared/src
|
|
//
|
|
// Created by Brad Hefta-Gaub on 12/15/14.
|
|
// Copyright 2014 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
#ifndef hifi_PathUtils_h
|
|
#define hifi_PathUtils_h
|
|
|
|
|
|
#include <QString>
|
|
|
|
namespace PathUtils {
|
|
QString& resourcesPath();
|
|
}
|
|
|
|
QString fileNameWithoutExtension(const QString& fileName, const QVector<QString> possibleExtensions);
|
|
QString findMostRecentFileExtension(const QString& originalFileName, QVector<QString> possibleExtensions);
|
|
|
|
#endif // hifi_PathUtils_h
|