gecko-dev/cck/wizard/NewDialog.h

66 lines
1.8 KiB
C++

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
#include "resource.h"
// NewDialog.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CNewDialog dialog
class CNewDialog : public CDialog
{
// Construction
public:
CNewDialog(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CNewDialog)
enum { IDD = IDD_NEW_DIALOG };
CString m_DataField;
CString m_EditField;
//}}AFX_DATA
CString myData;
CString GetData();
void DDV_INIFile(CDataExchange* pDX, CString value);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CNewDialog)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CNewDialog)
virtual BOOL OnInitDialog();
virtual void OnOK();
virtual void OnCancel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};