diff options
author | Le Liu <liulex@users.noreply.github.com> | 2016-11-27 01:40:47 +0800 |
---|---|---|
committer | Itay Grudev <itay-grudev@users.noreply.github.com> | 2016-11-26 17:40:47 +0000 |
commit | 0f821d44f3cee46b866f29830ce0987c8b36ed5e (patch) | |
tree | ef6c80ff8a62f019e08747b19eaae64f9dc8dd96 /singleapplication.h | |
parent | Fixed typo in README.md (diff) | |
download | singleapplication-0f821d44f3cee46b866f29830ce0987c8b36ed5e.tar.xz |
Allow data exclusion for the server name hash and Windows fixes (#16)
* Allows the application path and version to be excluded from the server name
hash. The following flags were added for this purpose:
* `SingleApplication::Mode::ExcludeAppVersion`
* `SingleApplication::Mode::ExcludeAppPath`
* Allow a non elevated process to connect to a local server created by an
elevated process run by the same user on Windows
* Fixes a problem with upper case letters in paths on Windows
Diffstat (limited to 'singleapplication.h')
-rw-r--r-- | singleapplication.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/singleapplication.h b/singleapplication.h index 9376dfe..93447f4 100644 --- a/singleapplication.h +++ b/singleapplication.h @@ -59,7 +59,9 @@ public: enum Mode { User = 1 << 0, System = 1 << 1, - SecondaryNotification = 1 << 2 + SecondaryNotification = 1 << 2, + ExcludeAppVersion = 1 << 3, + ExcludeAppPath = 1 << 4 }; Q_DECLARE_FLAGS(Options, Mode) |