acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
dynamic_library.h
1// Created by camilo on 2024-06-02 16:49 <3ThomasBorregaardSorensen!!
2// From idn by camilo on 2024-06-02 18:09 <3ThomasBorregaardSorensen!!
3#pragma once
4
5
6#include "acme/platform/department.h"
7
8
9namespace operating_system
10{
11
12
13 class CLASS_DECL_ACME dynamic_library :
14 virtual public ::platform::department
15 {
16 public:
17
18
19 /* inline static const_char_pointer represented_component_name()
20 {
21
22 return "nano_dynamic_library";
23
24 }*/
25
26
27 dynamic_library();
28
29 ~dynamic_library() override;
30
31
32 virtual ::file::path module_path(library_t* plibrary);
33
34
35 virtual ::file::path module_path_by_name(const ::scoped_string& scopedtrName);
36
37
38 virtual library_t* module_by_name(const ::scoped_string& scopedstrsName);
39
40
41 virtual library_t* module_by_path(const ::file::path& path);
42
43
44 virtual library_t* touch(const ::file::path& path, string& strMessage);
45
46
47 virtual library_t* open(const ::file::path& path, string& strMessage);
48
49
50 virtual library_t* open_on_context(const ::file::path& path, string& strMessage);
51
52
53 virtual bool close(library_t* plibrary);
54
55
56 virtual void* raw_get(library_t* plibrary, const ::scoped_string& scopedstrEntryName);
57
58
59 };
60
61
62 CLASS_DECL_ACME::operating_system::dynamic_library* new_dynamic_library();
63
64
65} // operating_system
66
67
Definition department.h:13