mirror of
https://git.eden-emu.dev/eden-emu/libadrenotools
synced 2026-02-04 02:41:22 +01:00
29 lines
998 B
C++
29 lines
998 B
C++
// SPDX-License-Identifier: BSD-2-Clause
|
|
// Copyright © 2021 Billy Laws
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include <adrenotools/priv.h>
|
|
|
|
/**
|
|
* @brief Holds the parameters for the main libvulkan.so hook
|
|
* @note See comments for adrenotools_open_libvulkan as a reference for member variables
|
|
*/
|
|
struct MainHookParam {
|
|
int featureFlags;
|
|
std::string tmpLibDir;
|
|
std::string hookLibDir;
|
|
std::string customDriverDir;
|
|
std::string customDriverName;
|
|
std::string fileRedirectDir;
|
|
|
|
MainHookParam(int featureFlags, const char *tmpLibDir, const char *hookLibDir, const char *customDriverDir, const char *customDriverName, const char *fileRedirectDir)
|
|
: featureFlags(featureFlags),
|
|
tmpLibDir(tmpLibDir ? tmpLibDir : ""),
|
|
hookLibDir(hookLibDir),
|
|
customDriverDir(customDriverDir ? customDriverDir : ""),
|
|
customDriverName(customDriverName ? customDriverName : ""),
|
|
fileRedirectDir(fileRedirectDir ? fileRedirectDir : "") {}
|
|
};
|