Mercurial > minori
diff dep/animia/include/win32.h @ 56:6ff7aabeb9d7
deps: add animia for open files detection
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Thu, 28 Sep 2023 12:35:21 -0400 |
parents | |
children | 4c6dd5999b39 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dep/animia/include/win32.h Thu Sep 28 12:35:21 2023 -0400 @@ -0,0 +1,16 @@ +#ifndef __animia__windows_h +#define __animia__windows_h +#include <vector> +#include <string> +#include <unordered_map> + +namespace Animia::Windows { + +std::vector<int> get_all_pids(); +std::string get_process_name(int pid); +std::vector<std::string> get_open_files(int pid); +std::unordered_map<int, std::vector<std::string>> get_all_open_files(); + +} + +#endif // __animia__windows_h