summaryrefslogtreecommitdiff
path: root/src/executableslist.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-12-14 16:32:30 +0100
committerTannin <devnull@localhost>2014-12-14 16:32:30 +0100
commit003cb6dec5ff3b6b25cb067eaca055d357a3db6c (patch)
tree6439fe51be79f411cb1525ce6747549be45fad8c /src/executableslist.h
parent7fb7207ac79537bb84a1d71eefa9366dea6b0688 (diff)
if a shortcut-started application is the same binary as a configured one, the corresponding steam app id is used
Diffstat (limited to 'src/executableslist.h')
-rw-r--r--src/executableslist.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/executableslist.h b/src/executableslist.h
index 09023a04..c09c8f72 100644
--- a/src/executableslist.h
+++ b/src/executableslist.h
@@ -94,6 +94,14 @@ public:
Executable &find(const QString &tilte);
/**
+ * @brief find an executable by a fileinfo structure
+ * @param info the info object to search for
+ * @return the executable
+ * @exception runtime_error will throw an exception if the name is not correct
+ */
+ Executable &findByBinary(const QFileInfo &info);
+
+ /**
* @brief determine if an executable exists
* @param title the title of the executable to look up
* @return true if the executable exists, false otherwise