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

Properties.h « Ext2Mgr - github.com/matt-wu/Ext3Fsd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b1ede3161ed5fffaf1d9fbc68e2755cfdce56efe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#if !defined(AFX_PROPERTIES_H__859C5D61_7EA7_4CC1_B69A_200D175C4ECE__INCLUDED_)
#define AFX_PROPERTIES_H__859C5D61_7EA7_4CC1_B69A_200D175C4ECE__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Properties.h : header file
//

#include "DiskBox.h"
#include "PartBox.h"

/////////////////////////////////////////////////////////////////////////////
// CProperties dialog

class CProperties : public CDialog
{
// Construction
public:
	CProperties(CWnd* pParent = NULL);   // standard constructor

    BOOL m_bdisk;
    ULONG   m_type;
    PVOID   m_sdev;

// Dialog Data
	//{{AFX_DATA(CProperties)
	enum { IDD = IDD_PROPERTY_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CProperties)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

    PEXT2_VOLUME    m_volume;
    PEXT2_CDROM     m_cdrom;
    PEXT2_DISK      m_disk;
    PEXT2_PARTITION m_part;

    CDiskBox    m_DiskBox;
    CPartBox    m_PartBox;

    CComboBox *cbDiskBox;
    CComboBox *cbPartBox;

	// Generated message map functions
	//{{AFX_MSG(CProperties)
	afx_msg void OnSdevChangeMp();
	afx_msg void OnSdevQuickMount();
	afx_msg void OnSdevExt2Info();
	virtual BOOL OnInitDialog();
    LRESULT OnGroupBoxUpdated(WPARAM wParam,LPARAM lParam);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

    void ResetDiskGroup();
    void ResetPartGroup();

    void SetDisk(PEXT2_DISK disk);
    void SetCdrom(PEXT2_CDROM cdrom);
    void SetVolume(PEXT2_VOLUME volume);
    void SetPartition(PEXT2_PARTITION part);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PROPERTIES_H__859C5D61_7EA7_4CC1_B69A_200D175C4ECE__INCLUDED_)