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