khanat-opennel-code/code/nel/tools/logic/logic_editor_dll/VariablePage.h
StudioEtrange 91e6b23d3f ** PCH Support for NMake with VS2012
NMAKE-VS2012 Error LNK2011
while NMAKE-VS2010 does not complain
we need to link the pch.obj file
see http://msdn.microsoft.com/en-us/library/3ay26wa2(v=vs.110).aspx

** PCH Support for Ninja
Ninja need to add property
        OBJECT_DEPENDS for using PCH
        OBJECT_OUTPUTS for create PCH
see http://public.kitware.com/pipermail/cmake-developers/2012-March/003653.html
2013-09-05 17:18:01 +02:00

61 lines
1.4 KiB
C++

#if !defined(AFX_VARIABLEPAGE_H__DC1D7AB2_6CC1_492C_AC43_3D39F53180F4__INCLUDED_)
#define AFX_VARIABLEPAGE_H__DC1D7AB2_6CC1_492C_AC43_3D39F53180F4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// VariablePage.h : header file
//
#include "ResizablePage.h"
class CLogic_editorDoc;
/////////////////////////////////////////////////////////////////////////////
// CVariablePage dialog
class CVariablePage : public CPropertyPage
{
DECLARE_DYNCREATE(CVariablePage)
// Construction
public:
CVariablePage();
~CVariablePage();
void addVariable( CLogic_editorDoc *pDoc, CString varName );
// Dialog Data
//{{AFX_DATA(CVariablePage)
enum { IDD = IDD_PAGE_VARIABLES };
CListBox m_listVariables;
CString m_sVarName;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CVariablePage)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CVariablePage)
virtual BOOL OnInitDialog();
afx_msg void OnButtonAdd();
afx_msg void OnSelchangeListVariables();
afx_msg void OnButtonVarDelete();
afx_msg void OnButtonVarApply();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_VARIABLEPAGE_H__DC1D7AB2_6CC1_492C_AC43_3D39F53180F4__INCLUDED_)