2021-09-03 02:33:15 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
2022-01-13 14:33:30 +01:00
|
|
|
#include <filesystem>
|
2021-09-03 02:33:15 +02:00
|
|
|
|
|
|
|
namespace hex {
|
|
|
|
|
2022-01-13 14:33:30 +01:00
|
|
|
namespace fs = std::filesystem;
|
|
|
|
|
2021-09-03 02:33:15 +02:00
|
|
|
enum class ImHexPath {
|
|
|
|
Patterns,
|
|
|
|
PatternsInclude,
|
|
|
|
Magic,
|
|
|
|
Python,
|
|
|
|
Plugins,
|
|
|
|
Yara,
|
|
|
|
Config,
|
|
|
|
Resources,
|
2022-01-17 20:06:00 +01:00
|
|
|
Constants,
|
|
|
|
Logs
|
2021-09-03 02:33:15 +02:00
|
|
|
};
|
|
|
|
|
2021-10-31 16:28:10 +01:00
|
|
|
std::string getExecutablePath();
|
|
|
|
|
2022-01-13 14:33:30 +01:00
|
|
|
std::vector<fs::path> getPath(ImHexPath path, bool listNonExisting = false);
|
2021-09-03 02:33:15 +02:00
|
|
|
|
|
|
|
}
|