acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
dir_system_heap.h
1#pragma once
2
3
4#include "apex/prototype/collection/collection_file_path_map.h"
5
6
7namespace file
8{
9
10
11 namespace dir
12 {
13
14
15 class CLASS_DECL_APEX is_dir
16 {
17 public:
18
19 bool m_bIsDir;
20 class ::time m_timeLastCheck;
21 ::u32 m_dwError;
22
23
24 };
25
26
27 class CLASS_DECL_APEX is_dir_map :
28 virtual public file_path_map < is_dir >
29 {
30 public:
31
32
33 ::pointer < ::mutex > m_pmutex;
34 class ::time m_timeTimeout;
35
36
37 is_dir_map(::particle * pparticle);
38
39
40 bool find(const ::file::path & strPath, bool &bIsDir, ::u32 & dwLastError);
41 bool find(const ::file::path & strPath, bool &bIsDir, ::u32 & dwLastError, ::i32 iLast);
42 void set(const ::file::path & strPath, bool bIsDir, ::u32 dwLastError);
43
44
45 };
46
47
48 class CLASS_DECL_APEX dir_system_heap
49 {
50 public:
51
52 is_dir_map m_isdirmap;
53
54
55 //::file::path m_strCa2;
56 //::file::path m_pathCa2Module;
57 ::file::path m_pathModule;
58 ::file::path m_pathProfile;
59 ::file::path m_pathUser;
60 ::file::path m_pathHome;
61
62 dir_system_heap(::particle * pparticle) :
63 m_isdirmap(pparticle)
64 {
65
66
67 }
68
69 };
70
71
72 } // namespace dir
73
74
75} // namespace file
76
77
78
Definition dir_system_heap.h:29
Definition dir_system_heap.h:16
Definition path.h:52
Definition particle.h:95
Definition filesystem.h:16