blob: df51c1161de416428e2e37ce0e93f5e24976e2cc (
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
|
#ifndef CORE_HELPERS_H
#define CORE_HELPERS_H
#include <utility>
#include <string>
#include <vector>
struct PathNamePair {
std::string path, fname;
PathNamePair() = default;
template<typename T, typename U>
PathNamePair(T&& path_, U&& fname_)
: path{std::forward<T>(path_)}, fname{std::forward<U>(fname_)}
{ }
};
const PathNamePair &GetProcBinary(void);
extern int RTPrioLevel;
extern bool AllowRTTimeLimit;
void SetRTPriority(void);
std::vector<std::string> SearchDataFiles(const char *match, const char *subdir);
#endif /* CORE_HELPERS_H */
|