From f5c2fc032e487c6cdac362f35c3ccfa52bfc5cc2 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Wed, 24 Mar 2010 18:27:55 +0100 Subject: [PATCH] editor: remove traces of stdafx --- editor/editor.vcproj | 4 ---- editor/recentfiles.cpp | 2 ++ editor/recentfiles.h | 3 ++- editor/stdafx.cpp | 5 ----- editor/stdafx.h | 15 --------------- 5 files changed, 4 insertions(+), 25 deletions(-) delete mode 100644 editor/stdafx.cpp delete mode 100644 editor/stdafx.h diff --git a/editor/editor.vcproj b/editor/editor.vcproj index 2dcf46f..7adda67 100644 --- a/editor/editor.vcproj +++ b/editor/editor.vcproj @@ -225,10 +225,6 @@ > - - diff --git a/editor/recentfiles.cpp b/editor/recentfiles.cpp index 9ed0d5b..10b6a22 100644 --- a/editor/recentfiles.cpp +++ b/editor/recentfiles.cpp @@ -1,5 +1,7 @@ +#include "../sync/base.h" #include "recentfiles.h" #include "resource.h" +#include #define MAX_DIR_LEN 64 diff --git a/editor/recentfiles.h b/editor/recentfiles.h index 8997c9b..ff013d4 100644 --- a/editor/recentfiles.h +++ b/editor/recentfiles.h @@ -1,5 +1,6 @@ #pragma once -#include "stdafx.h" +#include +#include class RecentFiles { diff --git a/editor/stdafx.cpp b/editor/stdafx.cpp deleted file mode 100644 index d6d4176..0000000 --- a/editor/stdafx.cpp +++ /dev/null @@ -1,5 +0,0 @@ -/* Copyright (C) 2007-2008 Erik Faye-Lund and Egbert Teeselink - * For conditions of distribution and use, see copyright notice in COPYING - */ - -#include "stdafx.h" diff --git a/editor/stdafx.h b/editor/stdafx.h deleted file mode 100644 index 4be7709..0000000 --- a/editor/stdafx.h +++ /dev/null @@ -1,15 +0,0 @@ -/* Copyright (C) 2007-2008 Erik Faye-Lund and Egbert Teeselink - * For conditions of distribution and use, see copyright notice in COPYING - */ -#pragma once - -#include -#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers -#include - -#include -#include - -#include -#include -#define ASSERT(x) assert(x)