2019-09-05 00:26:26 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
struct Settings;
|
|
|
|
interface IZoneSet;
|
|
|
|
|
|
|
|
class Trace
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static void RegisterProvider() noexcept;
|
|
|
|
static void UnregisterProvider() noexcept;
|
|
|
|
|
|
|
|
class FancyZones
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static void EnableFancyZones(bool enabled) noexcept;
|
|
|
|
static void OnKeyDown(DWORD vkCode, bool win, bool control, bool inMoveSize) noexcept;
|
2020-02-18 00:40:02 +08:00
|
|
|
static void DataChanged() noexcept;
|
2020-03-26 18:54:12 +08:00
|
|
|
static void EditorLaunched(int value) noexcept;
|
2020-09-10 05:27:40 +08:00
|
|
|
static void Error(const DWORD errorCode, std::wstring errorMessage, std::wstring methodName) noexcept;
|
2021-03-25 20:44:55 +08:00
|
|
|
static void QuickLayoutSwitched(bool shortcutUsed) noexcept;
|
2019-09-05 00:26:26 +08:00
|
|
|
};
|
|
|
|
|
2021-06-23 20:48:54 +08:00
|
|
|
static void SettingsTelemetry(const Settings& settings) noexcept;
|
2019-09-05 00:26:26 +08:00
|
|
|
static void VirtualDesktopChanged() noexcept;
|
|
|
|
|
|
|
|
class ZoneWindow
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
enum class InputMode
|
|
|
|
{
|
|
|
|
Keyboard,
|
|
|
|
Mouse
|
|
|
|
};
|
|
|
|
|
2019-11-19 07:29:42 +08:00
|
|
|
static void KeyUp(WPARAM wparam) noexcept;
|
2019-09-05 00:26:26 +08:00
|
|
|
static void MoveSizeEnd(_In_opt_ winrt::com_ptr<IZoneSet> activeSet) noexcept;
|
|
|
|
static void CycleActiveZoneSet(_In_opt_ winrt::com_ptr<IZoneSet> activeSet, InputMode mode) noexcept;
|
|
|
|
};
|
|
|
|
};
|