Nebula
Toggle main menu visibility
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
"
14
#include "
system/base/librarybase.h
"
15
16
//------------------------------------------------------------------------------
17
namespace
Win32
18
{
19
class
Win32Library
:
public
Base::Library
20
{
21
public
:
22
24
Win32Library
();
25
27
bool
Load
()
override
;
29
void
Close
()
override
;
31
void
*
GetExport
(
Util::String
const
& name)
const override
;
33
bool
IsLoaded
()
override
;
34
35
private
:
36
HINSTANCE
hInstance
;
37
};
38
39
}
// namespace Win32
40
//------------------------------------------------------------------------------
Base::Library
Base class for loading and handling dynamic libraries.
Definition
librarybase.h:19
Win32::Win32Library::Load
bool Load() override
load library
Definition
win32library.cc:25
Win32::Win32Library::Win32Library
Win32Library()
constructor
Definition
win32library.cc:15
Win32::Win32Library::Close
void Close() override
close the library
Definition
win32library.cc:38
Win32::Win32Library::hInstance
HINSTANCE hInstance
Definition
win32library.h:36
Win32::Win32Library::IsLoaded
bool IsLoaded() override
gets the state of the library.
Definition
win32library.cc:64
Win32::Win32Library::GetExport
void * GetExport(Util::String const &name) const override
get exported function address (GetProcAddress).
Definition
win32library.cc:54
librarybase.h
Win32
[TODO: Describe Win32 subsystem]
stream.h
string.h
Util.String
Nebula's universal string class.
Definition
String.cs:8
uri.h
code
foundation
system
win32
win32library.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.