view dep/animia/test/main.cpp @ 61:327568ad9be9

core/fs: finish class-ification of paths
author Paper <mrpapersonic@gmail.com>
date Fri, 29 Sep 2023 15:52:31 -0400
parents 6ff7aabeb9d7
children 4c6dd5999b39
line wrap: on
line source

#include "animia.h"
#include <iostream>

int main() {
	std::unordered_map<int, std::vector<std::string>> map = Animia::get_all_open_files();
	for (int i = 0; i < map.size(); i++) {
		for (std::string s: map[i]) {
			std::cout << Animia::get_process_name(i) << " (" << i << "): " << s << "\n";
		}
	}
}