2021-05-14 10:15:42 +08:00
|
|
|
#ifndef CORE_HELPERS_H
|
|
|
|
#define CORE_HELPERS_H
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2023-05-31 23:57:33 +08:00
|
|
|
#include "vector.h"
|
2021-05-14 10:15:42 +08:00
|
|
|
|
|
|
|
|
2023-05-31 23:57:33 +08:00
|
|
|
struct PathNamePair { std::string path, fname; };
|
2021-05-14 10:15:42 +08:00
|
|
|
const PathNamePair &GetProcBinary(void);
|
|
|
|
|
|
|
|
extern int RTPrioLevel;
|
|
|
|
extern bool AllowRTTimeLimit;
|
|
|
|
void SetRTPriority(void);
|
|
|
|
|
2023-05-31 23:57:33 +08:00
|
|
|
al::vector<std::string> SearchDataFiles(const char *match, const char *subdir);
|
2021-05-14 10:15:42 +08:00
|
|
|
|
|
|
|
#endif /* CORE_HELPERS_H */
|