Mercurial > minori
comparison dep/animia/include/win32.h @ 84:eab9e623eb84
dep/animia: update from upstream
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 25 Oct 2023 14:53:05 -0400 |
parents | 4c6dd5999b39 |
children |
comparison
equal
deleted
inserted
replaced
83:d02fdf1d6708 | 84:eab9e623eb84 |
---|---|
2 #define __animia__windows_h | 2 #define __animia__windows_h |
3 #include <vector> | 3 #include <vector> |
4 #include <string> | 4 #include <string> |
5 #include <unordered_map> | 5 #include <unordered_map> |
6 | 6 |
7 namespace Animia::Windows { | 7 namespace Animia { namespace Windows { |
8 | 8 |
9 std::vector<int> get_all_pids(); | 9 std::vector<int> get_all_pids(); |
10 std::string get_process_name(int pid); | 10 std::string get_process_name(int pid); |
11 std::vector<std::string> get_open_files(int pid); | 11 std::vector<std::string> get_open_files(int pid); |
12 std::vector<std::string> filter_system_files(const std::vector<std::string>& source); | 12 std::vector<std::string> filter_system_files(const std::vector<std::string>& source); |
13 std::unordered_map<int, std::vector<std::string>> get_all_open_files(); | 13 std::unordered_map<int, std::vector<std::string>> get_all_open_files(); |
14 | 14 |
15 } | 15 } // namespace Windows |
16 } // namespace Animia | |
16 | 17 |
17 #endif // __animia__windows_h | 18 #endif // __animia__windows_h |