blob: 3a9239b77d476a2f1b1547d0891c28f8b46217b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
// Copyright 2017-2022 The Mumble Developers. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.
#ifndef MUMBLE_OVERLAY_OLSETTINGS_H_
#define MUMBLE_OVERLAY_OLSETTINGS_H_
#include <string>
#include <vector>
/// OverlayExclusionMode defines the overlay exclusion
/// rules for Mumble.
enum OverlayExclusionMode {
/// Use the launcher filter-based exclusion mode.
LauncherFilterExclusionMode,
/// Use only the program whitelist.
WhitelistExclusionMode,
/// Use only the program blacklist.
BlacklistExclusionMode
};
/// Get the configured overlay exclusion mode for Mumble.
OverlayExclusionMode SettingsGetExclusionMode();
/// Get the list of launcher programs to consider when
/// checking the overlay exclusion rules.
std::vector< std::string > SettingsGetLaunchers();
/// Get the list of whitelisted programs to consider when
/// checking the overlay exclusion rules.
std::vector< std::string > SettingsGetWhitelist();
/// Get the list of whitelisted paths to consider when
/// checking the overlay exclusion rules.
std::vector< std::string > SettingsGetPaths();
/// Get the list of blacklisted programs to consider when
/// checking the overlay exclusion rules.
std::vector< std::string > SettingsGetBlacklist();
#endif
|