2596890212
This is me trying to merge5ff9a24
and75e2b5f
and LAWD it's impossible. But we don't really care, because we're gonna just toss out the locking from #11083 and instead move ApplicationState to the Monarch (in the future)
31 lines
826 B
C++
31 lines
826 B
C++
/*++
|
|
Copyright (c) Microsoft Corporation
|
|
Licensed under the MIT license.
|
|
|
|
Class Name:
|
|
- QuitAllRequestedArgs.h
|
|
|
|
Abstract:
|
|
- This is a helper class for allowing the monarch to run code before telling all
|
|
peasants to quit. This way the monarch can raise an event and get back a future
|
|
to wait for before continuing.
|
|
--*/
|
|
|
|
#pragma once
|
|
|
|
#include "QuitAllRequestedArgs.g.h"
|
|
#include "../cascadia/inc/cppwinrt_utils.h"
|
|
|
|
namespace winrt::Microsoft::Terminal::Remoting::implementation
|
|
{
|
|
struct QuitAllRequestedArgs : public QuitAllRequestedArgsT<QuitAllRequestedArgs>
|
|
{
|
|
WINRT_PROPERTY(winrt::Windows::Foundation::IAsyncAction, BeforeQuitAllAction, nullptr)
|
|
};
|
|
}
|
|
|
|
namespace winrt::Microsoft::Terminal::Remoting::factory_implementation
|
|
{
|
|
BASIC_FACTORY(QuitAllRequestedArgs);
|
|
}
|