From 626bdf0de5433fa409877ded8e7b40d4e402f423 Mon Sep 17 00:00:00 2001 From: marcomontoya Date: Mon, 11 Nov 2019 16:18:13 -0800 Subject: [PATCH] Added Copyright headers to .cpp and .h files (#790) --- src/GraphControl/Control/Equation.cpp | 3 +++ src/GraphControl/Control/Equation.h | 3 +++ src/GraphControl/Control/EquationCollection.h | 3 +++ src/GraphControl/Control/Grapher.cpp | 3 +++ src/GraphControl/Control/Grapher.h | 3 +++ src/GraphControl/Control/InspectingDataSource.cpp | 3 +++ src/GraphControl/Control/InspectingDataSource.h | 3 +++ src/GraphControl/DirectX/ActiveTracingPointRenderer.cpp | 3 +++ src/GraphControl/DirectX/ActiveTracingPointRenderer.h | 3 +++ src/GraphControl/DirectX/DeviceResources.cpp | 3 +++ src/GraphControl/DirectX/DeviceResources.h | 3 +++ src/GraphControl/DirectX/DirectXHelper.h | 3 +++ src/GraphControl/DirectX/NearestPointRenderer.cpp | 3 +++ src/GraphControl/DirectX/NearestPointRenderer.h | 3 +++ src/GraphControl/DirectX/RenderMain.cpp | 3 +++ src/GraphControl/DirectX/RenderMain.h | 3 +++ src/MockGraphingImpl/Mocks/MathSolver.cpp | 3 +++ src/MockGraphingImpl/Mocks/MathSolver.h | 3 +++ src/MockGraphingImpl/dllmain.cpp | 5 ++++- 19 files changed, 58 insertions(+), 1 deletion(-) diff --git a/src/GraphControl/Control/Equation.cpp b/src/GraphControl/Control/Equation.cpp index a5072dfa..945949a2 100644 --- a/src/GraphControl/Control/Equation.cpp +++ b/src/GraphControl/Control/Equation.cpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #include "pch.h" #include "Equation.h" diff --git a/src/GraphControl/Control/Equation.h b/src/GraphControl/Control/Equation.h index 7ee4df9a..1247b42d 100644 --- a/src/GraphControl/Control/Equation.h +++ b/src/GraphControl/Control/Equation.h @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #pragma once namespace GraphControl diff --git a/src/GraphControl/Control/EquationCollection.h b/src/GraphControl/Control/EquationCollection.h index c6b86ab6..5d2e2d12 100644 --- a/src/GraphControl/Control/EquationCollection.h +++ b/src/GraphControl/Control/EquationCollection.h @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #pragma once #include "Equation.h" diff --git a/src/GraphControl/Control/Grapher.cpp b/src/GraphControl/Control/Grapher.cpp index bbf52749..4ddb3503 100644 --- a/src/GraphControl/Control/Grapher.cpp +++ b/src/GraphControl/Control/Grapher.cpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #include "pch.h" #include "Grapher.h" diff --git a/src/GraphControl/Control/Grapher.h b/src/GraphControl/Control/Grapher.h index 7fbfdd48..8d383d86 100644 --- a/src/GraphControl/Control/Grapher.h +++ b/src/GraphControl/Control/Grapher.h @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #pragma once #include "InspectingDataSource.h" diff --git a/src/GraphControl/Control/InspectingDataSource.cpp b/src/GraphControl/Control/InspectingDataSource.cpp index 4c96f46e..abccdf89 100644 --- a/src/GraphControl/Control/InspectingDataSource.cpp +++ b/src/GraphControl/Control/InspectingDataSource.cpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #include "pch.h" #include "InspectingDataSource.h" diff --git a/src/GraphControl/Control/InspectingDataSource.h b/src/GraphControl/Control/InspectingDataSource.h index 457f0533..b6cead39 100644 --- a/src/GraphControl/Control/InspectingDataSource.h +++ b/src/GraphControl/Control/InspectingDataSource.h @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #pragma once namespace GraphControl diff --git a/src/GraphControl/DirectX/ActiveTracingPointRenderer.cpp b/src/GraphControl/DirectX/ActiveTracingPointRenderer.cpp index 34a7f2f4..66e986cf 100644 --- a/src/GraphControl/DirectX/ActiveTracingPointRenderer.cpp +++ b/src/GraphControl/DirectX/ActiveTracingPointRenderer.cpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #include "pch.h" #include "ActiveTracingPointRenderer.h" #include "DirectXHelper.h" diff --git a/src/GraphControl/DirectX/ActiveTracingPointRenderer.h b/src/GraphControl/DirectX/ActiveTracingPointRenderer.h index ac194bb1..a6c3702c 100644 --- a/src/GraphControl/DirectX/ActiveTracingPointRenderer.h +++ b/src/GraphControl/DirectX/ActiveTracingPointRenderer.h @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #pragma once namespace GraphControl::DX diff --git a/src/GraphControl/DirectX/DeviceResources.cpp b/src/GraphControl/DirectX/DeviceResources.cpp index a68f0f37..29e0415b 100644 --- a/src/GraphControl/DirectX/DeviceResources.cpp +++ b/src/GraphControl/DirectX/DeviceResources.cpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #include "pch.h" #include "DeviceResources.h" #include "DirectXHelper.h" diff --git a/src/GraphControl/DirectX/DeviceResources.h b/src/GraphControl/DirectX/DeviceResources.h index 3e0265fb..92072ec8 100644 --- a/src/GraphControl/DirectX/DeviceResources.h +++ b/src/GraphControl/DirectX/DeviceResources.h @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #pragma once // Modified from the default template for Xaml and Direct3D 11 apps. diff --git a/src/GraphControl/DirectX/DirectXHelper.h b/src/GraphControl/DirectX/DirectXHelper.h index 36579d0a..9e74ce77 100644 --- a/src/GraphControl/DirectX/DirectXHelper.h +++ b/src/GraphControl/DirectX/DirectXHelper.h @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #pragma once // Taken from the default template for Xaml and Direct3D 11 apps. diff --git a/src/GraphControl/DirectX/NearestPointRenderer.cpp b/src/GraphControl/DirectX/NearestPointRenderer.cpp index 80aff47f..64b114e3 100644 --- a/src/GraphControl/DirectX/NearestPointRenderer.cpp +++ b/src/GraphControl/DirectX/NearestPointRenderer.cpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #include "pch.h" #include "NearestPointRenderer.h" #include "DirectXHelper.h" diff --git a/src/GraphControl/DirectX/NearestPointRenderer.h b/src/GraphControl/DirectX/NearestPointRenderer.h index f21a03ac..79149654 100644 --- a/src/GraphControl/DirectX/NearestPointRenderer.h +++ b/src/GraphControl/DirectX/NearestPointRenderer.h @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #pragma once namespace GraphControl::DX diff --git a/src/GraphControl/DirectX/RenderMain.cpp b/src/GraphControl/DirectX/RenderMain.cpp index 08568b42..3083c181 100644 --- a/src/GraphControl/DirectX/RenderMain.cpp +++ b/src/GraphControl/DirectX/RenderMain.cpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #include "pch.h" #include "RenderMain.h" #include "DirectXHelper.h" diff --git a/src/GraphControl/DirectX/RenderMain.h b/src/GraphControl/DirectX/RenderMain.h index 19906636..becde5bc 100644 --- a/src/GraphControl/DirectX/RenderMain.h +++ b/src/GraphControl/DirectX/RenderMain.h @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #pragma once // Taken from the default template for Xaml and Direct3D 11 apps. diff --git a/src/MockGraphingImpl/Mocks/MathSolver.cpp b/src/MockGraphingImpl/Mocks/MathSolver.cpp index 127a1d01..2ca15985 100644 --- a/src/MockGraphingImpl/Mocks/MathSolver.cpp +++ b/src/MockGraphingImpl/Mocks/MathSolver.cpp @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #include "pch.h" #include "MathSolver.h" diff --git a/src/MockGraphingImpl/Mocks/MathSolver.h b/src/MockGraphingImpl/Mocks/MathSolver.h index b2b4c19d..495fa316 100644 --- a/src/MockGraphingImpl/Mocks/MathSolver.h +++ b/src/MockGraphingImpl/Mocks/MathSolver.h @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + #pragma once #include "GraphingInterfaces/IMathSolver.h" diff --git a/src/MockGraphingImpl/dllmain.cpp b/src/MockGraphingImpl/dllmain.cpp index fa2d7483..637c7cc2 100644 --- a/src/MockGraphingImpl/dllmain.cpp +++ b/src/MockGraphingImpl/dllmain.cpp @@ -1,4 +1,7 @@ -#include "pch.h" +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#include "pch.h" BOOL APIENTRY DllMain(HMODULE /* hModule */, DWORD ul_reason_for_call, LPVOID /* lpReserved */) {