Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / examples / Log_Msg / Log_Msg_MFC / MFC_Log.h
blob285c3df7d77c2b075f07e82f76a43601b980f7cc
1 /* -*- C++ -*- */
3 //=============================================================================
4 /**
5 * @file MFC_Log.h
7 * @author Craig Rodrigues <crodrigu@bbn.com>
8 * @author Chris Hafey <chafey@stentor.com>
9 * @author Don Hinton <dhinton@ieee.org>
11 //=============================================================================
13 #ifndef MFC_LOG_H
14 #define MFC_LOG_H
16 #include "ace/Log_Msg_Callback.h"
18 class ACE_Log_Record;
20 /**
21 * @class MFC_Log
23 * @brief A callback class for ACE_Log_Msg which sends output to
24 * Microsoft debugger
26 * Register this class as a MSG_CALLBACK with the ACE_Log_Msg singleton and
27 * send debug output to the Microsoft debugger console window with
28 * ACE_DEBUG macros.
30 class MFC_Log : public virtual ACE_Log_Msg_Callback
32 public:
33 /// Constructor
34 MFC_Log();
36 /// method called by ACE_Log_Msg to log an event
37 void log(ACE_Log_Record& log_record);
39 /// destructor
40 virtual ~MFC_Log();
43 #endif /* MFC_LOG_H */