From b53dc1e20061be3a8035f10e95b57c4c60bee3c8 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Sun, 27 Sep 2020 20:31:51 +0200 Subject: Add IProfile::iniFilePath(). --- src/profile.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/profile.h') diff --git a/src/profile.h b/src/profile.h index c7cbc7b7..9592ba04 100644 --- a/src/profile.h +++ b/src/profile.h @@ -195,6 +195,16 @@ public: **/ QString getIniFileName() const; + /** + * @brief Retrieve the absolute file to the corresponding file. + * + * @param iniFile INI file to retrieve a path for. This can either be the + * name of a file or a path to the absolute file outside of the profile. + * + * @return the absolute path for the given INI file for this profile. + */ + QString iniFilePath(QString iniFile) const override; + /** * @return the path of the tweak ini in this profile */ -- cgit v1.3.1