ciderpress/app/SubVolumeDialog.h

47 lines
1.1 KiB
C
Raw Normal View History

2007-03-27 17:47:10 +00:00
/*
* CiderPress
* Copyright (C) 2007 by faddenSoft, LLC. All Rights Reserved.
* See the file LICENSE for distribution terms.
*/
/*
* Sub-volume selection dialog.
*/
#ifndef __SUBVOLUMEDIALOG__
#define __SUBVOLUMEDIALOG__
#include "resource.h"
#include "../diskimg/DiskImg.h"
using namespace DiskImgLib;
/*
* Display the sub-volume selection dialog, which is primarily a list box
* with the sub-volumes listed in it.
*/
class SubVolumeDialog : public CDialog {
public:
SubVolumeDialog(CWnd* pParentWnd = NULL) :
CDialog(IDD_SUBV, pParentWnd)
{
fListBoxIndex = 0;
}
virtual ~SubVolumeDialog(void) {}
2007-03-27 17:47:10 +00:00
void Setup(DiskFS* pDiskFS) { fpDiskFS = pDiskFS; }
2007-03-27 17:47:10 +00:00
/* so long as we don't sort the list, this number is enough */
int fListBoxIndex;
2007-03-27 17:47:10 +00:00
protected:
// overrides
virtual BOOL OnInitDialog(void);
virtual void DoDataExchange(CDataExchange* pDX);
2007-03-27 17:47:10 +00:00
afx_msg void OnItemDoubleClicked(void);
2007-03-27 17:47:10 +00:00
private:
DiskFS* fpDiskFS;
2007-03-27 17:47:10 +00:00
DECLARE_MESSAGE_MAP()
2007-03-27 17:47:10 +00:00
};
#endif /*__SUBVOLUMEDIALOG__*/