Constants.h
 1  #pragma once
 2  
 3  #include "pch.h"
 4  
 5  // Non-localizable constants
 6  namespace constants::nonlocalizable
 7  {
 8      // Description of the registry key
 9      constexpr WCHAR RegistryKeyDescription[] = L"File Locksmith Shell Extension";
10  
11      // File name of the UI executable
12      constexpr WCHAR FileNameUIExe[] = L"PowerToys.FileLocksmithUI.exe";
13  
14      // String key used by PowerToys
15      constexpr WCHAR PowerToyKey[] = L"File Locksmith";
16  
17      // Nonlocalized name of this PowerToy, for logs, etc.
18      constexpr WCHAR PowerToyName[] = L"File Locksmith";
19  
20      // JSON key used to store whether the module is enabled
21      constexpr WCHAR JsonKeyEnabled[] = L"Enabled";
22  
23      // JSON key used to store extended menu enabled
24      constexpr WCHAR JsonKeyShowInExtendedContextMenu[] = L"showInExtendedContextMenu";
25  
26      // Path of the JSON file used to store settings
27      constexpr WCHAR DataFilePath[] = L"\\file-locksmith-settings.json";
28  
29      // Name of the file where the list of files to checked will be stored
30      constexpr WCHAR LastRunPath[] = L"\\last-run.log";
31  
32      // Name of the tier 1 context menu package
33      constexpr WCHAR ContextMenuPackageName[] = L"FileLocksmithContextMenu";
34  }
35  
36  // Macros, non-localizable
37   
38  // Description of the registry key
39  #define REGISTRY_CONTEXT_MENU_KEY  L"FileLocksmithExt"