From 9250749c0f1423502c2ef714adc9e382c301050c Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Wed, 7 Feb 2024 07:23:39 +0100 Subject: [PATCH] format --- CONFIG/AboutDlg.h | 3 +-- CONFIG/MainDlg.h | 3 +-- CONFIG/common.cpp | 14 ++++++++------ CONFIG/common.h | 16 ++++++++-------- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/CONFIG/AboutDlg.h b/CONFIG/AboutDlg.h index 19c25dda..725ac9e9 100644 --- a/CONFIG/AboutDlg.h +++ b/CONFIG/AboutDlg.h @@ -1,9 +1,8 @@ #if !defined(AFX_ABOUTDLG_H) #define AFX_ABOUTDLG_H -#include "common.h" - #include "afxwin.h" +#include "common.h" #include "compat.h" #include "res/resource.h" diff --git a/CONFIG/MainDlg.h b/CONFIG/MainDlg.h index 10564a9e..3f8da55a 100644 --- a/CONFIG/MainDlg.h +++ b/CONFIG/MainDlg.h @@ -1,9 +1,8 @@ #if !defined(AFX_MAINDLG_H) #define AFX_MAINDLG_H -#include "common.h" - #include "afxwin.h" +#include "common.h" #include "compat.h" #include "decomp.h" #include "res/resource.h" diff --git a/CONFIG/common.cpp b/CONFIG/common.cpp index 173f0bd1..dc159960 100644 --- a/CONFIG/common.cpp +++ b/CONFIG/common.cpp @@ -1,26 +1,28 @@ #include "common.h" - // FUNCTION: CONFIG 0x00402ca0 -void CSerializer::Serialize(CArchive& ar) { +void CSerializer::Serialize(CArchive& ar) +{ } // FUNCTION: CONFIG 0x00402cb0 -void CSerializer::AssertValid() const { +void CSerializer::AssertValid() const +{ } // FUNCTION: CONFIG 0x00402cc0 -void CSerializer::Dump(CDumpContext& dc) const { +void CSerializer::Dump(CDumpContext& dc) const +{ } // FUNCTION: CONFIG 0x00403c90 void CCommonDialog::BeginModalState() { - ::EnableWindow(m_hWnd, FALSE); + ::EnableWindow(m_hWnd, FALSE); } // FUNCTION: CONFIG 0x00403ca0 void CCommonDialog::EndModalState() { - ::EnableWindow(m_hWnd, TRUE); + ::EnableWindow(m_hWnd, TRUE); } diff --git a/CONFIG/common.h b/CONFIG/common.h index 7dee96c2..69305969 100644 --- a/CONFIG/common.h +++ b/CONFIG/common.h @@ -1,23 +1,23 @@ #ifndef AFX_COMMON_H #define AFX_COMMON_H -#include - #include "compat.h" +#include + class CSerializer { public: - void Serialize(CArchive& ar); - void AssertValid() const; - void Dump(CDumpContext& dc) const; + void Serialize(CArchive& ar); + void AssertValid() const; + void Dump(CDumpContext& dc) const; }; class CCommonDialog : public CDialog { public: - CCommonDialog(UINT nIDTemplate, CWnd* pParentWnd = NULL) : CDialog(nIDTemplate, pParentWnd) { } + CCommonDialog(UINT nIDTemplate, CWnd* pParentWnd = NULL) : CDialog(nIDTemplate, pParentWnd) {} - void BeginModalState() override; - void EndModalState() override; + void BeginModalState() override; + void EndModalState() override; }; #endif