libdisplaydevice v2026.322.2407
C++ library to modify display devices.
json.h
Go to the documentation of this file.
1
5#pragma once
6
7// local includes
9#include "types.h"
10
11// Windows' converters (add as needed)
12namespace display_device {
13 DD_JSON_DECLARE_CONVERTER(ActiveTopology)
14 DD_JSON_DECLARE_CONVERTER(DeviceDisplayModeMap)
15 DD_JSON_DECLARE_CONVERTER(HdrStateMap)
16 DD_JSON_DECLARE_CONVERTER(SingleDisplayConfigState)
17 DD_JSON_DECLARE_CONVERTER(WinWorkarounds)
18} // namespace display_device
Declarations for JSON conversion functions.
#define DD_JSON_DECLARE_CONVERTER(Type)
Helper MACRO to declare the toJson and fromJson converters for a type.
Definition json.h:20
Declarations for Windows specific types.