18 lines
289 B
C++
18 lines
289 B
C++
#pragma once
|
|
|
|
class DL {
|
|
void* m_handle;
|
|
public:
|
|
DL(const DL& other) = delete;
|
|
DL(DL&& other) noexcept;
|
|
DL& operator=(const DL& other) = delete;
|
|
DL& operator=(DL&& other) noexcept;
|
|
|
|
DL(const char* path);
|
|
~DL();
|
|
|
|
void* resolve(const char* symbol) const;
|
|
|
|
operator bool() const;
|
|
};
|