mirror of
https://github.com/ModOrganizer2/usvfs.git
synced 2026-07-27 14:04:27 -07:00
48 lines
1.2 KiB
C++
48 lines
1.2 KiB
C++
/*
|
|
Userspace Virtual Filesystem
|
|
|
|
Copyright (C) 2015 Sebastian Herbord. All rights reserved.
|
|
|
|
This file is part of usvfs.
|
|
|
|
usvfs is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
usvfs is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with usvfs. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
#pragma once
|
|
|
|
#include "logging.h"
|
|
#include "dllimport.h"
|
|
#include <chrono>
|
|
|
|
enum class CrashDumpsType : uint8_t {
|
|
None,
|
|
Mini,
|
|
Data,
|
|
Full
|
|
};
|
|
|
|
extern "C" {
|
|
|
|
struct USVFSParameters {
|
|
char instanceName[65];
|
|
char currentSHMName[65];
|
|
char currentInverseSHMName[65];
|
|
bool debugMode{false};
|
|
LogLevel logLevel{LogLevel::Debug};
|
|
CrashDumpsType crashDumpsType{CrashDumpsType::None};
|
|
char crashDumpsPath[260];
|
|
std::chrono::milliseconds delayProcess{0};
|
|
};
|
|
|
|
}
|