summaryrefslogtreecommitdiff
path: root/examples/Log_Msg/Log_Msg_MFC/Log_Msg_MFC.h
blob: 66940811ba12c94397ac147d90f08e69c56cf942 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// Log_Msg_MFC.h : main header file for the LOG_MSG_MFC application
// $Id$

#if !defined(AFX_LOG_MSG_MFC_H__03FA2C60_71EA_44F9_AC4C_2F19168B4755__INCLUDED_)
#define AFX_LOG_MSG_MFC_H__03FA2C60_71EA_44F9_AC4C_2F19168B4755__INCLUDED_

#include "ace/config-all.h"

#if defined (ACE_WIN32)

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols

// Add some includes here for our Logger
#include "MFC_Log.h"

/////////////////////////////////////////////////////////////////////////////
// CLog_Msg_MFCApp:
// See Log_Msg_MFC.cpp for the implementation of this class
//

class CLog_Msg_MFCApp : public CWinApp
{
public:
	CLog_Msg_MFCApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CLog_Msg_MFCApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CLog_Msg_MFCApp)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

    // MFC Log class for ACE_Log_Msg.  To be used by ACE_DEBUG
    MFC_Log m_mfc_logger;

};


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif /* ACE_WIN32 */

#endif // !defined(AFX_LOG_MSG_MFC_H__03FA2C60_71EA_44F9_AC4C_2F19168B4755__INCLUDED_)