1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-10-17 15:16:34 +00:00

Rename components/crashcatcher files to follow naming conventions

This commit is contained in:
Alexei Kotov 2025-02-22 22:56:21 +03:00
parent ac9505b536
commit fc850cfe69
10 changed files with 31 additions and 31 deletions

View file

@ -7,8 +7,3 @@ apps/openmw/mwsound/sound_buffer.cpp
apps/openmw/mwsound/sound_buffer.hpp
apps/openmw/mwsound/sound_decoder.hpp
apps/openmw/mwsound/sound_output.hpp
components/crashcatcher/windows_crashcatcher.cpp
components/crashcatcher/windows_crashcatcher.hpp
components/crashcatcher/windows_crashmonitor.cpp
components/crashcatcher/windows_crashmonitor.hpp
components/crashcatcher/windows_crashshm.hpp

View file

@ -390,10 +390,10 @@ copy_resource_file("lua_ui/content.lua" "${OPENMW_RESOURCES_ROOT}" "resources/lu
if(WIN32)
add_component_dir (crashcatcher
windows_crashcatcher
windows_crashmonitor
windows_crashshm
windowscrashcatcher
windowscrashdumppathhelpers
windowscrashmonitor
windowscrashshm
)
elseif(NOT ANDROID)
add_component_dir (crashcatcher

View file

@ -1,5 +1,5 @@
#ifndef CRASHCATCHER_H
#define CRASHCATCHER_H
#ifndef OPENMW_COMPONENTS_CRASHCATCHER_CRASHCATCHER_HPP
#define OPENMW_COMPONENTS_CRASHCATCHER_CRASHCATCHER_HPP
#include <filesystem>

View file

@ -1,17 +1,18 @@
#include "windows_crashcatcher.hpp"
#include "windowscrashcatcher.hpp"
#include <cassert>
#include <cwchar>
#include <sstream>
#include <thread>
#include "windows_crashmonitor.hpp"
#include "windows_crashshm.hpp"
#include "windowscrashdumppathhelpers.hpp"
#include <SDL_messagebox.h>
#include <components/misc/strings/conversion.hpp>
#include "windowscrashdumppathhelpers.hpp"
#include "windowscrashmonitor.hpp"
#include "windowscrashshm.hpp"
namespace Crash
{
namespace

View file

@ -1,11 +1,12 @@
#ifndef WINDOWS_CRASHCATCHER_HPP
#define WINDOWS_CRASHCATCHER_HPP
#ifndef OPENMW_COMPONENTS_CRASHCATCHER_WINDOWSCRASHCATCHER_HPP
#define OPENMW_COMPONENTS_CRASHCATCHER_WINDOWSCRASHCATCHER_HPP
#include <filesystem>
#include <components/crashcatcher/crashcatcher.hpp>
#include <components/misc/windows.hpp>
#include "crashcatcher.hpp"
namespace Crash
{
@ -78,4 +79,4 @@ namespace Crash
} // namespace Crash
#endif // WINDOWS_CRASHCATCHER_HPP
#endif

View file

@ -1,8 +1,10 @@
#ifndef COMPONENTS_CRASH_WINDOWSCRASHDUMPPATHHELPERS_H
#include "windows_crashshm.hpp"
#ifndef OPENMW_COMPONENTS_CRASHCATCHER_WINDOWSCRASHDUMPPATHHELPERS_HPP
#define OPENMW_COMPONENTS_CRASHCATCHER_WINDOWSCRASHDUMPPATHHELPERS_HPP
#include <filesystem>
#include "windowscrashshm.hpp"
namespace Crash
{
std::filesystem::path getCrashDumpPath(const CrashSHM& crashShm);

View file

@ -1,4 +1,4 @@
#include "windows_crashmonitor.hpp"
#include "windowscrashmonitor.hpp"
#include <Psapi.h>
#include <components/misc/windows.hpp>
@ -10,12 +10,13 @@
#include <SDL_messagebox.h>
#include "windows_crashcatcher.hpp"
#include "windows_crashshm.hpp"
#include "windowscrashdumppathhelpers.hpp"
#include <components/debug/debuglog.hpp>
#include <components/misc/strings/conversion.hpp>
#include "windowscrashcatcher.hpp"
#include "windowscrashdumppathhelpers.hpp"
#include "windowscrashshm.hpp"
namespace Crash
{
std::unordered_map<HWINEVENTHOOK, CrashMonitor*> CrashMonitor::smEventHookOwners{};

View file

@ -1,5 +1,5 @@
#ifndef WINDOWS_CRASHMONITOR_HPP
#define WINDOWS_CRASHMONITOR_HPP
#ifndef OPENMW_COMPONENTS_CRASHCATCHER_WINDOWSCRASHMONITOR_HPP
#define OPENMW_COMPONENTS_CRASHCATCHER_WINDOWSCRASHMONITOR_HPP
#include <components/misc/windows.hpp>
@ -60,4 +60,4 @@ namespace Crash
} // namespace Crash
#endif // WINDOWS_CRASHMONITOR_HPP
#endif

View file

@ -1,5 +1,5 @@
#ifndef WINDOWS_CRASHSHM_HPP
#define WINDOWS_CRASHSHM_HPP
#ifndef OPENMW_COMPONENTS_CRASHCATCHER_WINDOWSCRASHSHM_HPP
#define OPENMW_COMPONENTS_CRASHCATCHER_WINDOWSCRASHSHM_HPP
#include <components/misc/windows.hpp>
@ -44,4 +44,4 @@ namespace Crash
} // namespace Crash
#endif // WINDOWS_CRASHSHM_HPP
#endif

View file

@ -22,7 +22,7 @@
#include <components/misc/strings/lower.hpp>
#ifdef _WIN32
#include <components/crashcatcher/windows_crashcatcher.hpp>
#include <components/crashcatcher/windowscrashcatcher.hpp>
#include <components/files/conversion.hpp>
#include <components/misc/windows.hpp>