Tests: Stabilize include order in MFC, VSXaml, and VSWinStorePhone

These tests use a precompiled header that must be included first.
Include the header in an isolated block so that tools that sort
includes do not move it.
This commit is contained in:
Brad King 2016-04-29 09:07:46 -04:00
parent eda313b485
commit eb817be034
11 changed files with 13 additions and 1 deletions

View File

@ -1,6 +1,8 @@
// ChildFrm.cpp : implementation of the CChildFrame class
//
#include "stdafx.h"
#include "mfc1.h"
#include "ChildFrm.h"

View File

@ -2,6 +2,7 @@
//
#include "stdafx.h"
#include "mfc1.h"
#include "MainFrm.h"

View File

@ -2,6 +2,7 @@
//
#include "stdafx.h"
#include "mfc1.h"
#include "MainFrm.h"

View File

@ -2,6 +2,7 @@
//
#include "stdafx.h"
#include "mfc1.h"
#include "mfc1Doc.h"

View File

@ -2,6 +2,7 @@
//
#include "stdafx.h"
#include "mfc1.h"
#include "mfc1Doc.h"

View File

@ -1,4 +1,5 @@
#include "pch.h"
#include "CubeRenderer.h"
using namespace DirectX;

View File

@ -1,4 +1,5 @@
#include "pch.h"
#include "Direct3DApp1.h"
#include "BasicTimer.h"

View File

@ -1,6 +1,7 @@
#pragma once
#include "pch.h"
#include "CubeRenderer.h"
ref class Direct3DApp1 sealed : public Windows::ApplicationModel::Core::IFrameworkView

View File

@ -1,4 +1,5 @@
#include "pch.h"
#include "Direct3DBase.h"
using namespace DirectX;

View File

@ -4,6 +4,7 @@
//
#include "pch.h"
#include "MainPage.xaml.h"
using namespace VSXaml;
@ -122,4 +123,4 @@ void App::OnSuspending(Object^ sender, SuspendingEventArgs^ e)
void App::OnNavigationFailed(Platform::Object ^sender, Windows::UI::Xaml::Navigation::NavigationFailedEventArgs ^e)
{
throw ref new FailureException("Failed to load Page " + e->SourcePageType.Name);
}
}

View File

@ -4,6 +4,7 @@
//
#include "pch.h"
#include "MainPage.xaml.h"
using namespace VSXaml;