63 lines
No EOL
1.6 KiB
C++
63 lines
No EOL
1.6 KiB
C++
// stdafx.h : 잘 변경되지 않고 자주 사용하는
|
|
// 표준 시스템 포함 파일 및 프로젝트 관련 포함 파일이
|
|
// 들어 있는 포함 파일입니다.
|
|
|
|
#pragma once
|
|
|
|
#ifndef VC_EXTRALEAN
|
|
#define VC_EXTRALEAN // Windows 헤더에서 거의 사용되지 않는 내용을 제외시킵니다.
|
|
#endif
|
|
|
|
#ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
|
|
#define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows.
|
|
#endif
|
|
|
|
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 일부 CString 생성자는 명시적으로 선언됩니다.
|
|
|
|
// MFC의 공통 부분과 무시 가능한 경고 메시지에 대한 숨기기를 해제합니다.
|
|
#define _AFX_ALL_WARNINGS
|
|
|
|
#include <afxwin.h> // MFC 핵심 및 표준 구성 요소
|
|
#include <afxext.h> // MFC 익스텐션
|
|
#include <afxdisp.h> // MFC 자동화 클래스
|
|
|
|
#include <afxdtctl.h> // Internet Explorer 4 공용 컨트롤에 대한 MFC 지원
|
|
#ifndef _AFX_NO_AFXCMN_SUPPORT
|
|
#include <afxcmn.h> // Windows 공용 컨트롤에 대한 MFC 지원
|
|
#endif // _AFX_NO_AFXCMN_SUPPORT
|
|
|
|
// stl
|
|
#include <vector>
|
|
#include <deque>
|
|
#include <list>
|
|
#include <set>
|
|
#include <map>
|
|
#include <queue>
|
|
#include <deque>
|
|
#include <hash_map>
|
|
#include <algorithm>
|
|
#include <string>
|
|
|
|
|
|
#ifdef _UNICODE
|
|
typedef std::wstring tstring;
|
|
#else
|
|
typedef std::string tstring;
|
|
#endif
|
|
|
|
|
|
#ifndef SAFE_DELETE
|
|
#define SAFE_DELETE(p) { if(p) { delete (p); (p)=NULL; } }
|
|
#endif
|
|
#ifndef SAFE_DELETE_ARRAY
|
|
#define SAFE_DELETE_ARRAY(p) { if(p) { delete[] (p); (p)=NULL; } }
|
|
#endif
|
|
#ifndef SAFE_RELEASE
|
|
#define SAFE_RELEASE(p) { if(p) { (p)->Release(); (p)=NULL; } }
|
|
#endif
|
|
|
|
|
|
#include "tinyxml.h"
|
|
#include "StringUtil.h"
|
|
|
|
std::string GetTimeString(time_t time); |