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:
parent
eda313b485
commit
eb817be034
|
@ -1,6 +1,8 @@
|
||||||
// ChildFrm.cpp : implementation of the CChildFrame class
|
// ChildFrm.cpp : implementation of the CChildFrame class
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
|
|
||||||
#include "mfc1.h"
|
#include "mfc1.h"
|
||||||
|
|
||||||
#include "ChildFrm.h"
|
#include "ChildFrm.h"
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
|
|
||||||
#include "mfc1.h"
|
#include "mfc1.h"
|
||||||
|
|
||||||
#include "MainFrm.h"
|
#include "MainFrm.h"
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
|
|
||||||
#include "mfc1.h"
|
#include "mfc1.h"
|
||||||
#include "MainFrm.h"
|
#include "MainFrm.h"
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
|
|
||||||
#include "mfc1.h"
|
#include "mfc1.h"
|
||||||
|
|
||||||
#include "mfc1Doc.h"
|
#include "mfc1Doc.h"
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
|
|
||||||
#include "mfc1.h"
|
#include "mfc1.h"
|
||||||
|
|
||||||
#include "mfc1Doc.h"
|
#include "mfc1Doc.h"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
|
|
||||||
#include "CubeRenderer.h"
|
#include "CubeRenderer.h"
|
||||||
|
|
||||||
using namespace DirectX;
|
using namespace DirectX;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
|
|
||||||
#include "Direct3DApp1.h"
|
#include "Direct3DApp1.h"
|
||||||
#include "BasicTimer.h"
|
#include "BasicTimer.h"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
|
|
||||||
#include "CubeRenderer.h"
|
#include "CubeRenderer.h"
|
||||||
|
|
||||||
ref class Direct3DApp1 sealed : public Windows::ApplicationModel::Core::IFrameworkView
|
ref class Direct3DApp1 sealed : public Windows::ApplicationModel::Core::IFrameworkView
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
|
|
||||||
#include "Direct3DBase.h"
|
#include "Direct3DBase.h"
|
||||||
|
|
||||||
using namespace DirectX;
|
using namespace DirectX;
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
|
|
||||||
#include "MainPage.xaml.h"
|
#include "MainPage.xaml.h"
|
||||||
|
|
||||||
using namespace VSXaml;
|
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)
|
void App::OnNavigationFailed(Platform::Object ^sender, Windows::UI::Xaml::Navigation::NavigationFailedEventArgs ^e)
|
||||||
{
|
{
|
||||||
throw ref new FailureException("Failed to load Page " + e->SourcePageType.Name);
|
throw ref new FailureException("Failed to load Page " + e->SourcePageType.Name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
|
|
||||||
#include "MainPage.xaml.h"
|
#include "MainPage.xaml.h"
|
||||||
|
|
||||||
using namespace VSXaml;
|
using namespace VSXaml;
|
||||||
|
|
Loading…
Reference in New Issue