Nebula
Loading...
Searching...
No Matches
win32library.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
11#include "util/string.h"
12#include "io/uri.h"
13#include "io/stream.h"
15
16//------------------------------------------------------------------------------
17namespace Win32
18{
20{
21public:
22
25
27 bool Load() override;
29 void Close() override;
31 void* GetExport(Util::String const& name) const override;
33 bool IsLoaded() override;
34
35private:
36 HINSTANCE hInstance;
37};
38
39} // namespace Win32
40//------------------------------------------------------------------------------
Base class for loading and handling dynamic libraries.
Definition librarybase.h:19
Load and handle an external DLL.
Definition win32library.h:20
bool Load() override
load library
Definition win32library.cc:25
Win32Library()
constructor
Definition win32library.cc:15
void Close() override
close the library
Definition win32library.cc:38
HINSTANCE hInstance
Definition win32library.h:36
bool IsLoaded() override
gets the state of the library.
Definition win32library.cc:64
void * GetExport(Util::String const &name) const override
get exported function address (GetProcAddress).
Definition win32library.cc:54
[TODO: Describe Win32 subsystem]
Nebula's universal string class.
Definition string.h:50