Skip to content

Commit

Permalink
ALSO doesn't really need to be projected
Browse files Browse the repository at this point in the history
  • Loading branch information
zadjii-msft committed Mar 26, 2024
1 parent ddc88c8 commit 10e1e46
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
1 change: 0 additions & 1 deletion src/cascadia/TerminalApp/SettingsPaneContent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#include "pch.h"
#include "SettingsPaneContent.h"
#include "SettingsPaneContent.g.cpp"
#include "Utils.h"

using namespace winrt::Windows::Foundation;
Expand Down
10 changes: 3 additions & 7 deletions src/cascadia/TerminalApp/SettingsPaneContent.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
// Licensed under the MIT license.

#pragma once
#include "SettingsPaneContent.g.h"
#include "winrt/TerminalApp.h"
#include <LibraryResources.h>

namespace winrt::TerminalApp::implementation
{
struct SettingsPaneContent : SettingsPaneContentT<SettingsPaneContent>
class SettingsPaneContent : public winrt::implements<SettingsPaneContent, IPaneContent>
{
public:
SettingsPaneContent(winrt::Microsoft::Terminal::Settings::Model::CascadiaSettings settings);

void UpdateSettings(const winrt::Microsoft::Terminal::Settings::Model::CascadiaSettings& settings);
Expand Down Expand Up @@ -43,8 +44,3 @@ namespace winrt::TerminalApp::implementation
winrt::Windows::UI::Xaml::ElementTheme _requestedTheme;
};
}

namespace winrt::TerminalApp::factory_implementation
{
BASIC_FACTORY(SettingsPaneContent);
}
5 changes: 0 additions & 5 deletions src/cascadia/TerminalApp/TerminalPaneContent.idl
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,4 @@ namespace TerminalApp

event Windows.Foundation.TypedEventHandler<TerminalPaneContent, Object> RestartTerminalRequested;
}

[default_interface] runtimeclass SettingsPaneContent : IPaneContent
{
SettingsPaneContent(Microsoft.Terminal.Settings.Model.CascadiaSettings settings);
}
}
1 change: 1 addition & 0 deletions src/cascadia/TerminalApp/TerminalTab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <LibraryResources.h>
#include "ColorPickupFlyout.h"
#include "TerminalTab.h"
#include "SettingsPaneContent.h"
#include "TerminalTab.g.cpp"
#include "Utils.h"
#include "ColorHelper.h"
Expand Down

0 comments on commit 10e1e46

Please sign in to comment.