xref: /aosp_15_r20/external/lzma/CPP/7zip/UI/FileManager/RegistryUtils.h (revision f6dc9357d832569d4d1f5d24eacdb3935a1ae8e6)
1 // RegistryUtils.h
2 
3 #ifndef ZIP7_INC_REGISTRY_UTILS_H
4 #define ZIP7_INC_REGISTRY_UTILS_H
5 
6 #include "../../../Common/MyTypes.h"
7 #include "../../../Common/MyString.h"
8 
9 void SaveRegLang(const UString &path);
10 void ReadRegLang(UString &path);
11 
12 void SaveRegEditor(bool useEditor, const UString &path);
13 void ReadRegEditor(bool useEditor, UString &path);
14 
15 void SaveRegDiff(const UString &path);
16 void ReadRegDiff(UString &path);
17 
18 void ReadReg_VerCtrlPath(UString &path);
19 
20 struct CFmSettings
21 {
22   bool ShowDots;
23   bool ShowRealFileIcons;
24   bool FullRow;
25   bool ShowGrid;
26   bool SingleClick;
27   bool AlternativeSelection;
28   // bool Underline;
29 
30   bool ShowSystemMenu;
31 
32   void Save() const;
33   void Load();
34 };
35 
36 // void SaveLockMemoryAdd(bool enable);
37 // bool ReadLockMemoryAdd();
38 
39 bool ReadLockMemoryEnable();
40 void SaveLockMemoryEnable(bool enable);
41 
42 void SaveFlatView(UInt32 panelIndex, bool enable);
43 bool ReadFlatView(UInt32 panelIndex);
44 
45 /*
46 void Save_ShowDeleted(bool enable);
47 bool Read_ShowDeleted();
48 */
49 
50 #endif
51