Sunshine master
Self-hosted game stream host for Moonlight.
undo_data.cpp File Reference

Definitions for undoing changes to nvidia preferences. More...

#include <nlohmann/json.hpp>
#include "nvprefs_common.h"
#include "undo_data.h"
Include dependency graph for undo_data.cpp:

Classes

struct  nlohmann::adl_serializer< data_t >
 JSON serializer specialization for undo-data records. More...
 
struct  nlohmann::adl_serializer< opengl_swapchain_t >
 JSON serializer specialization for OpenGL swapchain settings. More...
 
struct  nlohmann::adl_serializer< std::optional< T > >
 Helper specialization for optional values. More...
 

Typedefs

using nlohmann::data_t = nvprefs::undo_data_t::data_t
 Serialized undo-data representation.
 
using json = nlohmann::json
 nlohmann JSON type used for NVPrefs undo serialization.
 
using nlohmann::opengl_swapchain_t = data_t::opengl_swapchain_t
 Serialized OpenGL swapchain profile settings.
 

Detailed Description

Definitions for undoing changes to nvidia preferences.