source: chevmsgr/trunk/msvc14/ChevMsgrClient_MFC/ChevMsgrClient_MFC.h@ 14

Last change on this file since 14 was 14, checked in by cheese, 9 years ago

테스트 코드 추가
UI 모양 작업
채팅되는 상태까지 확인

File size: 856 bytes
Line 
1
2// ChevMsgrClient_MFC.h : PROJECT_NAME ÀÀ¿ë ÇÁ·Î±×·¥¿¡ ´ëÇÑ ÁÖ Çì´õ ÆÄÀÏÀÔ´Ï´Ù.
3//
4
5#pragma once
6
7#ifndef __AFXWIN_H__
8 #error "PCH¿¡ ´ëÇØ ÀÌ ÆÄÀÏÀ» Æ÷ÇÔÇϱâ Àü¿¡ 'stdafx.h'¸¦ Æ÷ÇÔÇÕ´Ï´Ù."
9#endif
10
11#include "resource.h" // ÁÖ ±âÈ£ÀÔ´Ï´Ù.
12
13
14// CChevMsgrClient_MFCApp:
15// ÀÌ Å¬·¡½ºÀÇ ±¸Çö¿¡ ´ëÇؼ­´Â ChevMsgrClient_MFC.cppÀ» ÂüÁ¶ÇϽʽÿÀ.
16//
17
18class CChevMsgrClient_MFCApp : public CWinApp
19{
20public:
21 CChevMsgrClient_MFCApp();
22
23// ÀçÁ¤ÀÇÀÔ´Ï´Ù.
24public:
25 virtual BOOL InitInstance();
26
27// ±¸ÇöÀÔ´Ï´Ù.
28
29 DECLARE_MESSAGE_MAP()
30};
31
32extern CChevMsgrClient_MFCApp theApp;
33
34#include <string>
35
36static std::string wstr2str(const std::wstring & wstr)
37{
38 return std::string().assign(wstr.begin(), wstr.end());
39}
40
41static std::wstring str2wstr(const std::string & str)
42{
43 return std::wstring().assign(str.begin(), str.end());
44}
Note: See TracBrowser for help on using the repository browser.