summaryrefslogtreecommitdiffstats
path: root/src/common/dynamic_library.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/dynamic_library.h')
-rw-r--r--src/common/dynamic_library.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/dynamic_library.h b/src/common/dynamic_library.h
index f42bdf441..662d454d4 100644
--- a/src/common/dynamic_library.h
+++ b/src/common/dynamic_library.h
@@ -20,6 +20,9 @@ public:
/// Automatically loads the specified library. Call IsOpen() to check validity before use.
explicit DynamicLibrary(const char* filename);
+ /// Initializes the dynamic library with an already opened handle.
+ explicit DynamicLibrary(void* handle_);
+
/// Moves the library.
DynamicLibrary(DynamicLibrary&&) noexcept;
DynamicLibrary& operator=(DynamicLibrary&&) noexcept;