1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- #ifndef CHOOSEUNITDLG_H
- #define CHOOSEUNITDLG_H
- /*************************************************************************************************\
- ChooseUnitDlg.h : Interface for the ChooseUnitDlg component.
- //---------------------------------------------------------------------------//
- // Copyright (C) Microsoft Corporation. All rights reserved. //
- //===========================================================================//
- \*************************************************************************************************/
- #include "resource.h"
- #include <elist.h>
- #include "Objective.h"
- #include "EditorObjectMgr.h"
- #include "stdafx.h"
- class ChooseUnitDlg: public CDialog
- {
- public:
- typedef Unit *unit_ptr_type;
- ChooseUnitDlg( unit_ptr_type &unitPtr, int alignmentToExclude = -1 );
- BOOL OnCommand(WPARAM wParam, LPARAM lParam); // called by child controls to inform of an event
- void OnUsePointer();
- void OnCancel();
- void OnOK();
- virtual ~ChooseUnitDlg();
- BOOL OnInitDialog();
- private:
- typedef CDialog inherited;
- // suppressing these
- inline ChooseUnitDlg();
- ChooseUnitDlg& operator=( const ChooseUnitDlg& lgUnitPtr );
- int m_alignmentToExclude;
- unit_ptr_type *m_pModifiedUnitPtr;
- unit_ptr_type *m_pUnitPtr;
- CComboBox *m_pComboBox;
- EditorObjectMgr::UNIT_LIST m_unitList;
- CButton *m_pUsingPointerButton;
- CButton *m_pCancelButton;
- CButton *m_pOKButton;
- };
- //*************************************************************************************************
- #endif // end of file ( ChooseUnitDlg.h )
|