diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2016-05-10 03:00:00 +0300 |
---|---|---|
committer | Kornel LesiĆski <kornel@geekhood.net> | 2016-05-28 02:16:59 +0300 |
commit | 66ac98bb02ac0fadd2a0e3266ea39279984580a3 (patch) | |
tree | c14c790212474e8b51df443d686b202cfe6b2315 /CPP/7zip/UI/FileManager/Panel.h | |
parent | c20d013055085bf49b4c93b2c617030b10c1fb4d (diff) |
16.0016.00
Diffstat (limited to 'CPP/7zip/UI/FileManager/Panel.h')
-rw-r--r-- | CPP/7zip/UI/FileManager/Panel.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/CPP/7zip/UI/FileManager/Panel.h b/CPP/7zip/UI/FileManager/Panel.h index fc74d556..261388de 100644 --- a/CPP/7zip/UI/FileManager/Panel.h +++ b/CPP/7zip/UI/FileManager/Panel.h @@ -57,7 +57,7 @@ const int kParentIndex = -1; struct CPanelCallback { virtual void OnTab() = 0; - virtual void SetFocusToPath(int index) = 0; + virtual void SetFocusToPath(unsigned index) = 0; virtual void OnCopy(bool move, bool copyToSame) = 0; virtual void OnSetSameFolder() = 0; virtual void OnSetSubFolder() = 0; @@ -222,6 +222,7 @@ struct CSelectedState UString FocusedName; bool SelectFocused; UStringVector SelectedNames; + CSelectedState(): FocusedItem(-1), SelectFocused(false) {} }; @@ -377,6 +378,8 @@ public: bool _thereAreDeletedItems; bool _markDeletedItems; + bool PanelCreated; + HWND GetParent(); UInt32 GetRealIndex(const LVITEMW &item) const @@ -460,8 +463,8 @@ public: HRESULT BindToPathAndRefresh(const UString &path); void OpenDrivesFolder(); - void SetBookmark(int index); - void OpenBookmark(int index); + void SetBookmark(unsigned index); + void OpenBookmark(unsigned index); void LoadFullPath(); void LoadFullPathAndShow(); @@ -477,7 +480,9 @@ public: const UString ¤tFolderPrefix, const UString &arcFormat, CPanelCallback *panelCallback, - CAppState *appState, bool &archiveIsOpened, bool &encrypted); + CAppState *appState, + bool needOpenArc, + bool &archiveIsOpened, bool &encrypted); void SetFocusToList(); void SetFocusToLastRememberedItem(); @@ -496,6 +501,7 @@ public: _flatMode(false), _flatModeForDisk(false), _flatModeForArc(false), + PanelCreated(false), // _showNtfsStrems_Mode(false), // _showNtfsStrems_ModeForDisk(false), |