mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 03:36:44 +02:00
26 lines
634 B
C
26 lines
634 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <FancyZonesLib/ModuleConstants.h>
|
||
|
|
|
||
|
|
#include <common/SettingsAPI/settings_helpers.h>
|
||
|
|
|
||
|
|
namespace NonLocalizable
|
||
|
|
{
|
||
|
|
namespace LayoutTemplatesIds
|
||
|
|
{
|
||
|
|
const static wchar_t* LayoutTemplatesArrayID = L"layout-templates";
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
class LayoutTemplates
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
inline static std::wstring LayoutTemplatesFileName()
|
||
|
|
{
|
||
|
|
std::wstring saveFolderPath = PTSettingsHelper::get_module_save_folder_location(NonLocalizable::ModuleKey);
|
||
|
|
#if defined(UNIT_TESTS)
|
||
|
|
return saveFolderPath + L"\\test-layout-templates.json";
|
||
|
|
#endif
|
||
|
|
return saveFolderPath + L"\\layout-templates.json";
|
||
|
|
}
|
||
|
|
};
|