mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-14 06:11:36 -06:00
4.44 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
804edc5756
commit
d9666cf046
34
CPP/7zip/FileManager/Resource/OverwriteDialog/OverwriteDialog.h
Executable file
34
CPP/7zip/FileManager/Resource/OverwriteDialog/OverwriteDialog.h
Executable file
@@ -0,0 +1,34 @@
|
||||
// OverwriteDialog.h
|
||||
|
||||
#ifndef __OVERWRITEDIALOG_H
|
||||
#define __OVERWRITEDIALOG_H
|
||||
|
||||
#include "resource.h"
|
||||
#include "Windows/Control/Dialog.h"
|
||||
|
||||
namespace NOverwriteDialog
|
||||
{
|
||||
struct CFileInfo
|
||||
{
|
||||
bool SizeIsDefined;
|
||||
UINT64 Size;
|
||||
bool TimeIsDefined;
|
||||
FILETIME Time;
|
||||
UString Name;
|
||||
};
|
||||
}
|
||||
|
||||
class COverwriteDialog: public NWindows::NControl::CModalDialog
|
||||
{
|
||||
void SetFileInfoControl(int textID, int iconID,
|
||||
const NOverwriteDialog::CFileInfo &fileInfo);
|
||||
virtual bool OnInit();
|
||||
bool OnButtonClicked(int buttonID, HWND buttonHWND);
|
||||
public:
|
||||
INT_PTR Create(HWND parent = 0) { return CModalDialog::Create(IDD_DIALOG_OVERWRITE, parent); }
|
||||
|
||||
NOverwriteDialog::CFileInfo OldFileInfo;
|
||||
NOverwriteDialog::CFileInfo NewFileInfo;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user