acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
file_system_interface.h
1// Created by camilo on 2025-10-19 16:53 <3ThomasBorregaardSørensen!!
2// From programming by camilo on 2025-10-19 17:28 <3ThomasBorregaardSørensen!! ThomasKanGodLideTalFem.
3// From programming by camilo on 2025-10-19 17:34 <3ThomasBorregaardSørensen!! ThomasKanGodLideTalFem.
4#pragma once
5
6
7#include "acme/filesystem/filesystem/file_system_cache_item.h"
8#include "acme/prototype/collection/integer_map.h"
9#include "acme/prototype/prototype/unique_index.h"
10
11
12class CLASS_DECL_ACME file_system_interface :
13 virtual public ::particle,
14 virtual public ::unique_index_domain
15{
16public:
17
18
19 //critical_section m_criticalsectionFileSystemCacheItem;
20 //index_map_base < ::file_system_cache_item > m_mapFileSystemCacheItem;
21
22
23
24 file_system_interface() { }
25 ~file_system_interface() override;
26
27
28 void on_initialize_particle() override;
29
30
31 virtual ::file_system_real_path_interface* get_file_system_real_path_interface();
32
33
34
35
36 //virtual bool file_system_file_exists(const ::file_system_cache_item & pfilesystemcacheitem);
37 //virtual bool file_system_is_folder(const ::file_system_cache_item & pfilesystemcacheitem);
38 virtual bool file_system_has_script(const ::file_system_cache_item & pfilesystemcacheitem);
39 virtual string file_system_expanded_md5(const ::file_system_cache_item & pfilesystemcacheitem);
40
41 //virtual bool _file_system_file_exists(const ::file_system_cache_item & pfilesystemcacheitem);
42 //virtual bool _file_system_is_folder(const ::file_system_cache_item & pfilesystemcacheitem);
43 virtual bool _file_system_has_script(const ::file_system_cache_item & pfilesystemcacheitem);
44 virtual string _file_system_expanded_md5(const ::file_system_cache_item & pfilesystemcacheitem);
45
46
47 virtual class ::file_system_cache_item file_system_item(const ::scoped_string& scopedstrName, ::file_system_real_path_interface* pfilesystemrealpathinterface = nullptr);
48
49 //virtual ::file::path file_system_item_path(const ::scoped_string& scopedstrName, ::file_system_real_path_interface* pfilesystemrealpathinterface = nullptr);
50
51
52 virtual ::file_system_item* get_file_system_item(const ::scoped_string& scopedstr, ::file_system_real_path_interface* pfilesystemrealpathinterface = nullptr);
53
54
55 //virtual ::file::path _calculate_real_path(const ::scoped_string& scopedstrName, ::file_system_interface* pfilesysteminterface = nullptr);
56
57
58};
59
60
61
62
Definition file_system_real_path_interface.h:13
Definition unique_index.h:9