From 8898350106e696c44263e4510245477bd8f4c20e Mon Sep 17 00:00:00 2001 From: cinnamon-msft Date: Wed, 28 Oct 2020 20:20:23 -0700 Subject: [PATCH 1/2] make all nav items top level and remove addprofile --- .../TerminalSettingsEditor/AddProfile.cpp | 17 -- .../TerminalSettingsEditor/AddProfile.h | 20 -- .../TerminalSettingsEditor/AddProfile.idl | 7 - .../TerminalSettingsEditor/AddProfile.xaml | 267 ------------------ .../TerminalSettingsEditor/MainPage.cpp | 9 - .../TerminalSettingsEditor/MainPage.xaml | 92 ++---- ...Microsoft.Terminal.Settings.Editor.vcxproj | 13 - ...t.Terminal.Settings.Editor.vcxproj.filters | 1 - .../Resources/en-US/Resources.resw | 17 +- 9 files changed, 30 insertions(+), 413 deletions(-) delete mode 100644 src/cascadia/TerminalSettingsEditor/AddProfile.cpp delete mode 100644 src/cascadia/TerminalSettingsEditor/AddProfile.h delete mode 100644 src/cascadia/TerminalSettingsEditor/AddProfile.idl delete mode 100644 src/cascadia/TerminalSettingsEditor/AddProfile.xaml diff --git a/src/cascadia/TerminalSettingsEditor/AddProfile.cpp b/src/cascadia/TerminalSettingsEditor/AddProfile.cpp deleted file mode 100644 index 9139a8d9623..00000000000 --- a/src/cascadia/TerminalSettingsEditor/AddProfile.cpp +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -#include "pch.h" -#include "AddProfile.h" -#include "AddProfile.g.cpp" - -using namespace winrt; -using namespace winrt::Windows::UI::Xaml; - -namespace winrt::Microsoft::Terminal::Settings::Editor::implementation -{ - AddProfile::AddProfile() - { - InitializeComponent(); - } -} diff --git a/src/cascadia/TerminalSettingsEditor/AddProfile.h b/src/cascadia/TerminalSettingsEditor/AddProfile.h deleted file mode 100644 index d27f3e6f553..00000000000 --- a/src/cascadia/TerminalSettingsEditor/AddProfile.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -#pragma once - -#include "AddProfile.g.h" -#include "Utils.h" - -namespace winrt::Microsoft::Terminal::Settings::Editor::implementation -{ - struct AddProfile : AddProfileT - { - AddProfile(); - }; -} - -namespace winrt::Microsoft::Terminal::Settings::Editor::factory_implementation -{ - BASIC_FACTORY(AddProfile); -} diff --git a/src/cascadia/TerminalSettingsEditor/AddProfile.idl b/src/cascadia/TerminalSettingsEditor/AddProfile.idl deleted file mode 100644 index de959cdaf93..00000000000 --- a/src/cascadia/TerminalSettingsEditor/AddProfile.idl +++ /dev/null @@ -1,7 +0,0 @@ -namespace Microsoft.Terminal.Settings.Editor -{ - [default_interface] runtimeclass AddProfile : Windows.UI.Xaml.Controls.Page - { - AddProfile(); - } -} diff --git a/src/cascadia/TerminalSettingsEditor/AddProfile.xaml b/src/cascadia/TerminalSettingsEditor/AddProfile.xaml deleted file mode 100644 index d535ef218b5..00000000000 --- a/src/cascadia/TerminalSettingsEditor/AddProfile.xaml +++ /dev/null @@ -1,267 +0,0 @@ - - - - - - - - - - - - - - - -