00001 #if !defined(AFX_ASPECTSPECDLG_H__A771B477_7ECF_41F9_8FCD_1557C770B87C__INCLUDED_)
00002 #define AFX_ASPECTSPECDLG_H__A771B477_7ECF_41F9_8FCD_1557C770B87C__INCLUDED_
00003
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007
00008 #include <afxtempl.h>
00009 #include <AFXDLGS.H>
00010 #include "resource.h"
00011 #include "NameSpecTbl.h"
00012 #include "map"
00013 #include "string"
00014 #include "BONImpl.h"
00015 #include "BON.h"
00016
00017
00018
00019
00021
00022
00023
00024 class NameSpecDlg : public CDialog
00025 {
00026
00027
00028
00029
00030 enum { IDD = IDD_EQUIVDIALOG };
00031
00032
00033
00034 public:
00035 NameSpecDlg( CWnd* pParent = NULL);
00036
00037
00038 public:
00039
00040 NameSpecTbl m_nmlist;
00041 int m_lastID;
00042 typedef std::map< BON::FCO, std::set< BON::FCO> > LARGE_MAP;
00043 typedef std::map< BON::FCO, std::pair<std::string, std::string> > DEFNAMES_MAP;
00044
00045 LARGE_MAP m_map;
00046 DEFNAMES_MAP m_dn;
00047 DEFNAMES_MAP m_result;
00048
00049
00050 public:
00051
00052
00053
00054
00055 public:
00056 virtual BOOL OnInitDialog();
00057 virtual void OnOK();
00058
00059
00060
00061 public:
00062 void GetEntry(int entryNum, CString& name, CString& dispname, CString& kind);
00063
00064 void GetNames(int num, CString& curname, CStringList& names);
00065 void GetDispNames( int num, CString& curdispname, CStringList& dispnames);
00066
00067 virtual ~NameSpecDlg();
00068
00069
00070 protected:
00071
00072
00073
00074 DECLARE_MESSAGE_MAP()
00075 };
00076
00078
00079
00080
00081
00082 #endif // !defined(AFX_ASPECTSPECDLG_H__A771B477_7ECF_41F9_8FCD_1557C770B87C__INCLUDED_)