-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sophia Chen
committed
Sep 28, 2024
1 parent
c0936f9
commit df9dc0f
Showing
4 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
extensionsdk/Microsoft.Windows.DevHome.SDK/QuickStartChatStyleResult.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#include "pch.h" | ||
#include "QuickStartChatStyleResult.h" | ||
#include "QuickStartChatStyleResult.g.cpp" | ||
|
||
namespace winrt::Microsoft::Windows::DevHome::SDK::implementation | ||
{ | ||
QuickStartChatStyleResult::QuickStartChatStyleResult(hstring const& chatResponse) : | ||
_ChatResponse(chatResponse) | ||
{ | ||
} | ||
|
||
hstring QuickStartChatStyleResult::ChatResponse() | ||
{ | ||
return _ChatResponse; | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
extensionsdk/Microsoft.Windows.DevHome.SDK/QuickStartChatStyleResult.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#pragma once | ||
#include "QuickStartChatStyleResult.g.h" | ||
|
||
namespace winrt::Microsoft::Windows::DevHome::SDK::implementation | ||
{ | ||
struct QuickStartChatStyleResult : QuickStartChatStyleResultT<QuickStartChatStyleResult> | ||
{ | ||
QuickStartChatStyleResult() = default; | ||
|
||
QuickStartChatStyleResult(hstring const& chatResponse); | ||
hstring ChatResponse(); | ||
|
||
private: | ||
hstring const _ChatResponse; | ||
}; | ||
} | ||
|
||
namespace winrt::Microsoft::Windows::DevHome::SDK::factory_implementation | ||
{ | ||
struct QuickStartChatStyleResult : QuickStartChatStyleResultT<QuickStartChatStyleResult, implementation::QuickStartChatStyleResult> | ||
{ | ||
}; | ||
} |