Page Menu
Home
desp's stash
Search
Configure Global Search
Log In
Files
F764185
PluginLoader.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
726 B
Subscribers
None
PluginLoader.h
View Options
#pragma once
#include
<windows.h>
#include
<stdio.h>
#include
<vector>
class
Plugin
{
public
:
DWORD
fileSize
;
WCHAR
fullpath
[
MAX_PATH
];
WCHAR
pluginName
[
MAX_PATH
];
};
#define PLUGIN_DIR "Plugins"
#define PLUGIN_SEARCH_STRING "*.dll"
typedef
wchar_t
*
(
__cdecl
*
def_ScyllaPluginNameW
)();
typedef
char
*
(
__cdecl
*
def_ScyllaPluginNameA
)();
class
PluginLoader
{
public
:
static
bool
findAllPlugins
();
static
std
::
vector
<
Plugin
>
&
getPluginList
();
private
:
static
std
::
vector
<
Plugin
>
pluginList
;
static
WCHAR
dirSearchString
[
MAX_PATH
];
static
WCHAR
baseDirPath
[
MAX_PATH
];
static
bool
buildSearchString
();
static
bool
getPluginName
(
Plugin
*
pluginData
);
static
bool
isValidDllFile
(
const
WCHAR
*
fullpath
);
};
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Wed, Jul 29, 3:21 AM (1 d, 10 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d8/42/56495dd4f59b8ece57a48a08c081
Attached To
rSCY Scylla
Event Timeline
Log In to Comment