File tree 4 files changed +4
-13
lines changed
4 files changed +4
-13
lines changed Original file line number Diff line number Diff line change 3
3
4
4
#include " pch.h"
5
5
#include " SettingsPaneContent.h"
6
- #include " SettingsPaneContent.g.cpp"
7
6
#include " Utils.h"
8
7
9
8
using namespace winrt ::Windows::Foundation;
Original file line number Diff line number Diff line change 2
2
// Licensed under the MIT license.
3
3
4
4
#pragma once
5
- #include " SettingsPaneContent.g .h"
5
+ #include " winrt/TerminalApp .h"
6
6
#include < LibraryResources.h>
7
7
8
8
namespace winrt ::TerminalApp::implementation
9
9
{
10
- struct SettingsPaneContent : SettingsPaneContentT <SettingsPaneContent>
10
+ class SettingsPaneContent : public winrt ::implements <SettingsPaneContent, IPaneContent >
11
11
{
12
+ public:
12
13
SettingsPaneContent (winrt::Microsoft::Terminal::Settings::Model::CascadiaSettings settings);
13
14
14
15
void UpdateSettings (const winrt::Microsoft::Terminal::Settings::Model::CascadiaSettings& settings);
@@ -43,8 +44,3 @@ namespace winrt::TerminalApp::implementation
43
44
winrt::Windows::UI::Xaml::ElementTheme _requestedTheme;
44
45
};
45
46
}
46
-
47
- namespace winrt ::TerminalApp::factory_implementation
48
- {
49
- BASIC_FACTORY (SettingsPaneContent);
50
- }
Original file line number Diff line number Diff line change @@ -18,9 +18,4 @@ namespace TerminalApp
18
18
19
19
event Windows.Foundation.TypedEventHandler<TerminalPaneContent, Object> RestartTerminalRequested;
20
20
}
21
-
22
- [default_interface] runtimeclass SettingsPaneContent : IPaneContent
23
- {
24
- SettingsPaneContent(Microsoft.Terminal.Settings.Model.CascadiaSettings settings);
25
- }
26
21
}
Original file line number Diff line number Diff line change 5
5
#include < LibraryResources.h>
6
6
#include " ColorPickupFlyout.h"
7
7
#include " TerminalTab.h"
8
+ #include " SettingsPaneContent.h"
8
9
#include " TerminalTab.g.cpp"
9
10
#include " Utils.h"
10
11
#include " ColorHelper.h"
You can’t perform that action at this time.
0 commit comments