diff options
Diffstat (limited to 'singleapplication.h')
-rw-r--r-- | singleapplication.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/singleapplication.h b/singleapplication.h index 93447f4..33a9898 100644 --- a/singleapplication.h +++ b/singleapplication.h @@ -102,11 +102,17 @@ public: /** * @brief Returns a unique identifier for the current instance - * @returns {int} + * @returns {qint32} */ quint32 instanceId(); /** + * @brief Returns the process ID (PID) of the primary instance + * @returns {qint64} + */ + qint64 primaryPid(); + + /** * @brief Sends a message to the primary instance. Returns true on success. * @param {int} timeout - Timeout for connecting * @returns {bool} |