acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
dynamic_library_dl.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/nano/dynamic_library/dynamic_library.h"
7
8
9namespace dl
10{
11
12
13 namespace nano
14 {
15
16
17 namespace dynamic_library
18 {
19
20
21 class CLASS_DECL_ACME dynamic_library
22
23 :
24 virtual public ::nano::dynamic_library::dynamic_library
25 {
26 public:
27
28
29 inline static const_char_pointer represented_component_name()
30 {
31
32 return "nano_dynamic_library";
33
34 }
35
36
37 dynamic_library();
38
39 ~
40
41 dynamic_library()
42
43 override;
44
45
46 ::file::path module_path(::library_t * plibrary) override;
47
48
49 ::library_t * module_by_name(const ::scoped_string & scopedstrName) override;
50
51
52 ::library_t * module_by_path(const ::file::path & path) override;
53
54
55 //library_t *touch(const ::file::path &path, string &strMessage) override;
56
57
58 library_t * open(const ::file::path & path, string & strMessage) override;
59
60 library_t * open_on_context(const ::file::path & path, string & strMessage) override;
61
62 bool close(library_t * plibrary) override;
63
64 void * raw_get(library_t * plibrary, const ::scoped_string & scopedstrEntryName) override;
65
66 };
67
68
69 } // dynamic_library
70
71
72 } // nano
73
74
75} // namespace dl
76
77
78
Definition dynamic_library_dl.h:25