ciderpress/app/RecompressOptionsDialog.h

43 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.
*/
/*
* Options for recompressing files. This is derived from the "use selection"
* dialog.
*/
#ifndef __RECOMPRESS_OPTIONS_DIALOG__
#define __RECOMPRESS_OPTIONS_DIALOG__
#include "UseSelectionDialog.h"
#include "../prebuilt/NufxLib.h"
#include "resource.h"
/*
* Straightforward confirmation plus a drop-list.
*/
class RecompressOptionsDialog : public UseSelectionDialog {
public:
RecompressOptionsDialog(int selCount, CWnd* pParentWnd = NULL) :
UseSelectionDialog(selCount, pParentWnd, IDD_RECOMPRESS_OPTS)
{
fCompressionType = 0;
}
virtual ~RecompressOptionsDialog(void) {}
2007-03-27 17:47:10 +00:00
// maps directly to NuThreadFormat enum
int fCompressionType;
2007-03-27 17:47:10 +00:00
private:
virtual BOOL OnInitDialog(void);
virtual void DoDataExchange(CDataExchange* pDX);
2007-03-27 17:47:10 +00:00
int LoadComboBox(NuThreadFormat fmt);
2007-03-27 17:47:10 +00:00
int fCompressionIdx; // drop list index
2007-03-27 17:47:10 +00:00
//DECLARE_MESSAGE_MAP()
2007-03-27 17:47:10 +00:00
};
#endif /*__RECOMPRESS_OPTIONS_DIALOG__*/