mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 11:16:51 +02:00
44 lines
1.6 KiB
C++
44 lines
1.6 KiB
C++
#pragma once
|
|
|
|
struct Settings;
|
|
class Layout;
|
|
class LayoutAssignedWindows;
|
|
|
|
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;
|
|
static void DataChanged() noexcept;
|
|
static void EditorLaunched(int value) noexcept;
|
|
static void Error(const DWORD errorCode, std::wstring errorMessage, std::wstring methodName) noexcept;
|
|
static void QuickLayoutSwitched(bool shortcutUsed) noexcept;
|
|
static void SnapNewWindowIntoZone(Layout* activeLayout, LayoutAssignedWindows* layoutWindows) noexcept;
|
|
static void KeyboardSnapWindowToZone(Layout* activeLayout, LayoutAssignedWindows* layoutWindows) noexcept;
|
|
};
|
|
|
|
static void SettingsTelemetry(const Settings& settings) noexcept;
|
|
static void VirtualDesktopChanged() noexcept;
|
|
|
|
class WorkArea
|
|
{
|
|
public:
|
|
enum class InputMode
|
|
{
|
|
Keyboard,
|
|
Mouse
|
|
};
|
|
|
|
static void KeyUp(WPARAM wparam) noexcept;
|
|
static void MoveOrResizeStarted(_In_opt_ Layout* activeLayout, _In_opt_ LayoutAssignedWindows* layoutWindows) noexcept;
|
|
static void MoveOrResizeEnd(_In_opt_ Layout* activeLayout, _In_opt_ LayoutAssignedWindows* layoutWindows) noexcept;
|
|
static void CycleActiveZoneSet(_In_opt_ Layout* activeLayout, _In_opt_ LayoutAssignedWindows* layoutWindows, InputMode mode) noexcept;
|
|
};
|
|
};
|