101 lines
4.1 KiB
C++
101 lines
4.1 KiB
C++
#pragma once
|
|
#pragma warning(disable: 4786)
|
|
|
|
#if defined(_DEBUG) && !defined(AC_FULL_DEBUG)
|
|
#define _DEBUG_WAS_DEFINED
|
|
#undef _DEBUG
|
|
#pragma message ("Compiling MFC / STL / ATL header files in release mode.")
|
|
#endif
|
|
|
|
#pragma pack (push, 8)
|
|
#pragma warning(disable: 4786 4996)
|
|
|
|
#define VC_EXTRALEAN
|
|
|
|
#include <afxwin.h>
|
|
#include <afxext.h>
|
|
|
|
#ifndef _AFX_NO_OLE_SUPPORT
|
|
#include <afxole.h>
|
|
#include <afxodlgs.h>
|
|
#include <afxdisp.h>
|
|
#endif
|
|
|
|
#include <afxdtctl.h>
|
|
#ifndef _AFX_NO_AFXCMN_SUPPORT
|
|
#include <afxcmn.h>
|
|
#endif
|
|
|
|
#include <map>
|
|
#include <string>
|
|
#include <VECTOR>
|
|
|
|
#include <afxdhtml.h>
|
|
|
|
#include "ktcad.h"
|
|
|
|
/*
|
|
!!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!!
|
|
!!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!!
|
|
!!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!!
|
|
!!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!!
|
|
!!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!!
|
|
!!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!!
|
|
!!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!!
|
|
!!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!!
|
|
!!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!!
|
|
!!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!!
|
|
!!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!!
|
|
!!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!!
|
|
!!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!!
|
|
!!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!!
|
|
!!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!!
|
|
!!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!!
|
|
!!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!!
|
|
!!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!!
|
|
!!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!!
|
|
!!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!!
|
|
!!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!!
|
|
!!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!!
|
|
!!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!!
|
|
*/
|
|
|
|
#define LAY_CABTRY_CEN _T("CABTRY_CEN")
|
|
#define LAY_CABTRY_OUT _T("CABTRY_OUT")
|
|
#define LAY_CABTRY_SIG _T("CABTRY_SIG")
|
|
#define LAY_CABTRY_DSH _T("CABTRY_DSH")
|
|
|
|
#define LAY_TRENCH_CEN _T("TRENCH_CEN")
|
|
#define LAY_TRENCH_OUT _T("TRENCH_OUT")
|
|
#define LAY_TRENCH_SIG _T("TRENCH_SIG")
|
|
#define LAY_TRENCH_DSH _T("TRENCH_DSH")
|
|
|
|
#define LAY_CFITN_CENTER LAY_CABTRY_CEN
|
|
#define LAY_CFITN_OUTSIDE _T("CFITN_OUT")
|
|
#define LAY_CFITN_SINGLE _T("CFITN_SIG")
|
|
#define LAY_CFITN_DASH _T("CFITN_DSH")
|
|
|
|
#define LAY_CEQU_CENTER LAY_CABTRY_CEN
|
|
#define LAY_CEQU_DASH _T("CEQU_DSH")
|
|
#define LAY_CEQU _T("CEQU")
|
|
#define LAY_CABLE _T("LAY_CABLE");
|
|
|
|
extern HINSTANCE _hdllInstance;
|
|
|
|
#ifndef _ttof
|
|
#define _ttof(pszVal) _tcstod((pszVal), NULL)
|
|
#endif
|
|
|
|
#define UIICOMMONDLLEXPORT
|
|
|
|
#ifdef _DEBUG_WAS_DEFINED
|
|
#define _DEBUG
|
|
#undef _DEBUG_WAS_DEFINED
|
|
#endif
|
|
|
|
#define FILE_NAME_INI _T("eleccmd_uicache.dat")
|
|
#define GET_CACHE(name,format, ...) UIHistory::readCache(FILE_NAME_INI, _T(#name), _T(#format), ##__VA_ARGS__)
|
|
#define SET_CACHE(name,format, ...) UIHistory::writeCache(FILE_NAME_INI, _T(#name), _T(#format), ##__VA_ARGS__)
|
|
|
|
|