mirror of
https://github.com/fadden/ciderpress.git
synced 2024-11-26 17:49:21 +00:00
759f0d820f
This updates the various dialogs to use the new functions. The help system should be fully functional now.
49 lines
1.2 KiB
C++
49 lines
1.2 KiB
C++
/*
|
|
* CiderPress
|
|
* Copyright (C) 2007 by faddenSoft, LLC. All Rights Reserved.
|
|
* See the file LICENSE for distribution terms.
|
|
*/
|
|
/*
|
|
* Create a subdirectory (e.g. on a ProDOS disk image).
|
|
*/
|
|
#ifndef APP_CREATESUBDIRDIALOG_H
|
|
#define APP_CREATESUBDIRDIALOG_H
|
|
|
|
#include "GenericArchive.h"
|
|
#include "resource.h"
|
|
|
|
/*
|
|
* Get the name of the subdirectory to create.
|
|
*/
|
|
class CreateSubdirDialog : public CDialog {
|
|
public:
|
|
CreateSubdirDialog(CWnd* pParentWnd = NULL) :
|
|
CDialog(IDD_CREATE_SUBDIR, pParentWnd)
|
|
{
|
|
fpArchive = NULL;
|
|
fpParentEntry = NULL;
|
|
}
|
|
virtual ~CreateSubdirDialog(void) {}
|
|
|
|
CString fBasePath; // where subdir will be created
|
|
CString fNewName;
|
|
const GenericArchive* fpArchive;
|
|
const GenericEntry* fpParentEntry;
|
|
|
|
protected:
|
|
// overrides
|
|
virtual BOOL OnInitDialog(void) override;
|
|
virtual void DoDataExchange(CDataExchange* pDX) override;
|
|
|
|
// Context help request (question mark button).
|
|
afx_msg BOOL OnHelpInfo(HELPINFO* lpHelpInfo) {
|
|
return MyApp::HandleHelpInfo(lpHelpInfo);
|
|
}
|
|
|
|
private:
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
#endif /*APP_CREATESUBDIRDIALOG_H*/
|