khanat-opennel-code/code/nel/tools/logic/logic_editor_dll/StatePage.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

79 lines
1.8 KiB
C++

#if !defined(AFX_STATEPAGE_H__6FCFCFD9_9FCA_4790_9B43_9BF802EC332C__INCLUDED_)
#define AFX_STATEPAGE_H__6FCFCFD9_9FCA_4790_9B43_9BF802EC332C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StatePage.h : header file
//
#include "ResizablePage.h"
#include "State.h"
class CLogic_editorDoc;
/////////////////////////////////////////////////////////////////////////////
// CStatePage dialog
class CStatePage : public CPropertyPage
{
DECLARE_DYNCREATE(CStatePage)
// Construction
public:
CStatePage();
~CStatePage();
void Update();
void addState( CLogic_editorDoc *pDoc, CState * state);
public:
CState * m_pSelectedState;
CEvent * m_pSelectedEvent;
// Dialog Data
//{{AFX_DATA(CStatePage)
enum { IDD = IDD_PAGE_STATES };
int m_nEventMessage;
CString m_sConditionName;
CString m_sNextStateName;
CString m_sStateName;
CString m_sMessageID;
CString m_sArgument;
CString m_sDestination;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CStatePage)
public:
virtual BOOL OnSetActive();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CStatePage)
virtual BOOL OnInitDialog();
afx_msg void OnRadioStateChange();
afx_msg void OnRadioStateEventMsg();
afx_msg void OnButtonAddState();
afx_msg void OnButtonAddEvent();
afx_msg void OnButtonStateRemove();
afx_msg void OnButtonStateApply();
afx_msg void OnButtonEventApply();
afx_msg void OnButtonEventRemove();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STATEPAGE_H__6FCFCFD9_9FCA_4790_9B43_9BF802EC332C__INCLUDED_)