diff options
Diffstat (limited to 'singleapplication.h')
-rw-r--r-- | singleapplication.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/singleapplication.h b/singleapplication.h index cb50597..f91e3a2 100644 --- a/singleapplication.h +++ b/singleapplication.h @@ -113,6 +113,12 @@ public: qint64 primaryPid(); /** + * @brief Returns the username of the user running the primary instance + * @returns {QString} + */ + QString primaryUser(); + + /** * @brief Sends a message to the primary instance. Returns true on success. * @param {int} timeout - Timeout for connecting * @returns {bool} |