comparison dep/animia/include/animia.h @ 137:69db40272acd

dep/animia: [WIP] huge refactor this WILL NOT compile, because lots of code has been changed and every API in the original codebase has been removed. note that this api setup is not exactly permanent...
author Paper <mrpapersonic@gmail.com>
date Fri, 10 Nov 2023 13:52:47 -0500
parents eab9e623eb84
children 28842a8d0c6b
comparison
equal deleted inserted replaced
136:7d3ad9529c4c 137:69db40272acd
1 #ifndef __animia__animia_h 1 #ifndef __animia__animia_h
2 #define __animia__animia_h 2 #define __animia__animia_h
3 #include <vector>
4 #include <string>
5 #include <unordered_map>
6 3
7 namespace Animia { 4 #include "animia/media.h"
5 #include "animia/player.h"
8 6
9 std::vector<int> get_all_pids(); 7 namespace animia {
10 std::string get_process_name(int pid); 8
11 std::vector<std::string> get_open_files(int pid); 9
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();
14 10
15 } // namespace Animia 11 } // namespace Animia
16 12
17 #endif // __animia__animia_h 13 #endif // __animia__animia_h