mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 13:14:59 -06:00
41 lines
1.0 KiB
C++
Executable File
41 lines
1.0 KiB
C++
Executable File
// 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
|