]> git.tdb.fi Git - libs/core.git/blob - source/fs/stat_private.h
Add some missing includes
[libs/core.git] / source / fs / stat_private.h
1 #ifndef MSP_FS_STAT_PRIVATE_H_
2 #define MSP_FS_STAT_PRIVATE_H_
3
4 #include "stat.h"
5 #include "stat_platform.h"
6
7 namespace Msp {
8 namespace FS {
9
10 struct Stat::Private
11 {
12         UserID owner_id = INVALID_UID;
13         GroupID group_id = INVALID_GID;
14
15         Private() = default;
16         Private(const Private &);
17         ~Private();
18
19 #ifndef _WIN32
20         /* This is here because it needs access to private members of Stat, but we
21         can't expose the system stat struct in the public header */
22         static Stat from_struct_stat(const struct stat &);
23 #endif
24
25         void fill_owner_info(Stat::OwnerInfo &);
26 };
27
28 } // namespace FS
29 } // namespace Msp
30
31 #endif