]> icculus.org git repositories - taylor/freespace2.git/blob - include/addvariabledlg.h
embed standalone web in executable
[taylor/freespace2.git] / include / addvariabledlg.h
1 /*
2  * Copyright (C) Volition, Inc. 1999.  All rights reserved.
3  *
4  * All source code herein is the property of Volition, Inc. You may not sell 
5  * or otherwise commercially exploit the source or things you created based on
6  * the source.
7  */
8
9 #if !defined(AFX_ADDVARIABLEDLG_H__0F668CB5_AAEE_11D2_A899_0060088FAE88__INCLUDED_)
10 #define AFX_ADDVARIABLEDLG_H__0F668CB5_AAEE_11D2_A899_0060088FAE88__INCLUDED_
11
12 #if _MSC_VER > 1000
13 #pragma once
14 #endif // _MSC_VER > 1000
15 // AddVariableDlg.h : header file
16 //
17
18 /////////////////////////////////////////////////////////////////////////////
19 // CAddVariableDlg dialog
20
21 class CAddVariableDlg : public CDialog
22 {
23 // Construction
24 public:
25         CAddVariableDlg(CWnd* pParent = NULL);   // standard constructor
26
27 // Dialog Data
28         //{{AFX_DATA(CAddVariableDlg)
29         enum { IDD = IDD_ADD_VARIABLE };
30         CString m_default_value;
31         CString m_variable_name;
32         bool            m_name_validated;
33         bool            m_data_validated;
34         bool            m_type_number;
35         bool            m_create;
36         int             m_sexp_var_index;
37         //}}AFX_DATA
38
39
40 // Overrides
41         // ClassWizard generated virtual function overrides
42         //{{AFX_VIRTUAL(CAddVariableDlg)
43         protected:
44         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
45         //}}AFX_VIRTUAL
46
47 // Implementation
48 protected:
49
50         // Generated message map functions
51         //{{AFX_MSG(CAddVariableDlg)
52         virtual void OnOK();
53         virtual BOOL OnInitDialog();
54         afx_msg void validate_variable_name(int set_focus);
55         afx_msg void validate_data(int set_focus);
56         afx_msg void OnTypeNumber();
57         afx_msg void OnTypeString();
58         afx_msg void set_variable_type();
59         //}}AFX_MSG
60         DECLARE_MESSAGE_MAP()
61 };
62
63 //{{AFX_INSERT_LOCATION}}
64 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
65
66 #endif // !defined(AFX_ADDVARIABLEDLG_H__0F668CB5_AAEE_11D2_A899_0060088FAE88__INCLUDED_)
67