blob: 35a2d54c3a8e98155d4abe06ad8498e782024292 (
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
43
44
|
#ifndef SRC_COMPONENTS_INCLUDE_POLICY_POLICY_SETTINGS_H_
#define SRC_COMPONENTS_INCLUDE_POLICY_POLICY_SETTINGS_H_
#include <string>
#include <stdint.h>
namespace policy {
class PolicySettings {
public:
/**
* @brief Should Policy be turned off? (Library not loaded)
* @return Flag
*/
virtual bool enable_policy() const = 0;
/*
* @brief Path to preloaded policy file
*/
virtual const std::string& preloaded_pt_file() const = 0;
/**
* @brief Returns application storage path
*/
virtual const std::string& app_storage_folder() const = 0;
virtual uint16_t attempts_to_open_policy_db() const = 0;
virtual uint16_t open_attempt_timeout_ms() const = 0;
/**
* @brief Path to policies snapshot file
* @return file path
*/
virtual const std::string& policies_snapshot_file_name() const = 0;
/**
* @brief Returns system files folder path
*/
virtual const std::string& system_files_path() const = 0;
virtual bool use_full_app_id() const = 0;
virtual ~PolicySettings() {}
};
} // namespace policy
#endif // SRC_COMPONENTS_INCLUDE_POLICY_POLICY_SETTINGS_H_
|