Skip to content

Commit b6e4b62

Browse files
committed
Doesn't really need to be projected
1 parent 0979cd6 commit b6e4b62

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

src/cascadia/TerminalApp/ScratchpadContent.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
#include "pch.h"
55
#include "ScratchpadContent.h"
6-
#include "ScratchpadContent.g.cpp"
76

87
using namespace winrt::Windows::Foundation;
98
using namespace winrt::Windows::UI::Xaml;

src/cascadia/TerminalApp/ScratchpadContent.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
// Licensed under the MIT license.
33

44
#pragma once
5-
#include "ScratchpadContent.g.h"
5+
#include "winrt/TerminalApp.h"
66

77
namespace winrt::TerminalApp::implementation
88
{
9-
struct ScratchpadContent : ScratchpadContentT<ScratchpadContent>
9+
class ScratchpadContent : public winrt::implements<ScratchpadContent, IPaneContent>
1010
{
11+
public:
1112
ScratchpadContent();
1213

1314
winrt::Windows::UI::Xaml::FrameworkElement GetRoot();

src/cascadia/TerminalApp/TerminalPaneContent.idl

-5
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,4 @@ namespace TerminalApp
1818

1919
event Windows.Foundation.TypedEventHandler<TerminalPaneContent, Object> RestartTerminalRequested;
2020
}
21-
22-
23-
[default_interface] runtimeclass ScratchpadContent : IPaneContent
24-
{
25-
}
2621
}

0 commit comments

Comments
 (0)