diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-04-13 11:37:18 +0300 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-04-13 11:37:18 +0300 |
commit | 9d7c34b0fda06f3b4455831a36eb8d420cf29d15 (patch) | |
tree | 97b0713b6b35b341b0f7561cbdfacd2df8c8582e /singleapplication.h | |
parent | Add meson build support (diff) | |
parent | Merge pull request #97 from autoantwort/master (diff) | |
download | singleapplication-3.1.1a.tar.xz |
Merge branch 'upstream' into staging
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 f91e3a2..14c9615 100644 --- a/singleapplication.h +++ b/singleapplication.h @@ -119,6 +119,12 @@ public: QString primaryUser(); /** + * @brief Returns the username of the current user + * @returns {QString} + */ + QString currentUser(); + + /** * @brief Sends a message to the primary instance. Returns true on success. * @param {int} timeout - Timeout for connecting * @returns {bool} |