summaryrefslogtreecommitdiff
path: root/src/profile.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-09-27 20:31:51 +0200
committerMikaël Capelle <capelle.mikael@gmail.com>2020-09-27 20:31:51 +0200
commitb53dc1e20061be3a8035f10e95b57c4c60bee3c8 (patch)
tree6d9469b9aeb7df2773cb42dfe4214a020aade30e /src/profile.h
parent12524354a8aa599612a547f4aa76ec9cd9c5baa7 (diff)
Add IProfile::iniFilePath().
Diffstat (limited to 'src/profile.h')
-rw-r--r--src/profile.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/profile.h b/src/profile.h
index c7cbc7b7..9592ba04 100644
--- a/src/profile.h
+++ b/src/profile.h
@@ -196,6 +196,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
*/
QString getProfileTweaks() const;