Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/7zip/UI/FileManager/SystemPage.h')
-rwxr-xr-xCPP/7zip/UI/FileManager/SystemPage.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/CPP/7zip/UI/FileManager/SystemPage.h b/CPP/7zip/UI/FileManager/SystemPage.h
new file mode 100755
index 00000000..1b5891f6
--- /dev/null
+++ b/CPP/7zip/UI/FileManager/SystemPage.h
@@ -0,0 +1,40 @@
+// SystemPage.h
+
+#ifndef __SYSTEMPAGE_H
+#define __SYSTEMPAGE_H
+
+#include "Windows/Control/PropertyPage.h"
+#include "Windows/Control/ListView.h"
+
+#include "FilePlugins.h"
+
+class CSystemPage: public NWindows::NControl::CPropertyPage
+{
+ bool _initMode;
+ CExtDatabase _extDatabase;
+
+ // CObjectVector<NZipRootRegistry::CArchiverInfo> m_Archivers;
+ NWindows::NControl::CListView _listViewExt;
+ NWindows::NControl::CListView _listViewPlugins;
+
+ void SetMainPluginText(int itemIndex, int indexInDatabase);
+
+ int GetSelectedExtIndex();
+ void RefreshPluginsList(int selectIndex);
+ void MovePlugin(bool upDirection);
+ void UpdateDatabase();
+ void SelectAll();
+
+public:
+ virtual bool OnMessage(UINT message, WPARAM wParam, LPARAM lParam);
+ virtual bool OnInit();
+ virtual void OnNotifyHelp();
+ virtual bool OnNotify(UINT controlID, LPNMHDR lParam);
+ virtual bool OnItemChanged(const NMLISTVIEW *info);
+
+ virtual LONG OnApply();
+ virtual bool OnButtonClicked(int buttonID, HWND buttonHWND);
+ bool OnPluginsKeyDown(LPNMLVKEYDOWN keyDownInfo);
+};
+
+#endif