Mercurial > minori
comparison dep/animia/include/animia.h @ 139:478f3b366199
dep/animia: separate lots of things, use base class for OS stuff
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 12 Nov 2023 16:43:07 -0500 |
parents | 28842a8d0c6b |
children | d8a61e7e2a36 |
comparison
equal
deleted
inserted
replaced
138:28842a8d0c6b | 139:478f3b366199 |
---|---|
1 #ifndef __animia__animia_h | 1 #ifndef __animia__animia_h |
2 #define __animia__animia_h | 2 #define __animia__animia_h |
3 | 3 |
4 #include "animia/media.h" | 4 #include "animia/media.h" |
5 #include "animia/player.h" | 5 #include "animia/player.h" |
6 #include "animia/util.h" | 6 #include "animia/types.h" |
7 | 7 |
8 namespace animia { | 8 namespace animia { |
9 | 9 |
10 /* pid_t should be DWORD on windows, and defined by the system | 10 /* pid_t should be DWORD on windows, and defined by the system |
11 anywhere else */ | 11 anywhere else */ |
12 struct Process { | 12 struct Process { |
13 pid_t pid = 0; | 13 internal::pid_t pid = 0; |
14 std::string name; | 14 std::string name; |
15 }; | 15 }; |
16 | 16 |
17 struct Window { | 17 struct Window { |
18 unsigned int id = 0; | 18 unsigned int id = 0; |