mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
Use WinRT JSON parser instead of custom cpprestsdk solution (#822)
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include <Shlobj.h>
|
||||
#include <cpprest/json.h>
|
||||
|
||||
#include "json.h"
|
||||
|
||||
namespace PTSettingsHelper {
|
||||
|
||||
void save_module_settings(const std::wstring& powertoy_name, web::json::value& settings);
|
||||
web::json::value load_module_settings(const std::wstring& powertoy_name);
|
||||
void save_general_settings(web::json::value& settings);
|
||||
web::json::value load_general_settings();
|
||||
void save_module_settings(std::wstring_view powertoy_name, json::JsonObject& settings);
|
||||
json::JsonObject load_module_settings(std::wstring_view powertoy_name);
|
||||
void save_general_settings(const json::JsonObject& settings);
|
||||
json::JsonObject load_general_settings();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user