1 //=============================================================================
2 //
3 // Adventure Game Studio (AGS)
4 //
5 // Copyright (C) 1999-2011 Chris Jones and 2011-20xx others
6 // The full list of copyright holders can be found in the Copyright.txt
7 // file, which is part of this source code distribution.
8 //
9 // The AGS source code is provided under the Artistic License 2.0.
10 // A copy of this license can be found in the file License.txt and at
11 // http://www.opensource.org/licenses/artistic-license-2.0.php
12 //
13 //=============================================================================
14 //
15 // ConsoleOutputTarget prints messages onto in-game console GUI (available
16 // only if the game was compiled in debug mode).
17 //
18 //=============================================================================
19 #ifndef __AGS_EE_DEBUG__CONSOLEOUTPUTTARGET_H
20 #define __AGS_EE_DEBUG__CONSOLEOUTPUTTARGET_H
21 
22 #include "debug/outputhandler.h"
23 
24 namespace AGS
25 {
26 namespace Engine
27 {
28 
29 using Common::String;
30 using Common::DebugMessage;
31 
32 class ConsoleOutputTarget : public AGS::Common::IOutputHandler
33 {
34 public:
35     ConsoleOutputTarget();
36     virtual ~ConsoleOutputTarget();
37 
38     virtual void PrintMessage(const DebugMessage &msg);
39 };
40 
41 }   // namespace Engine
42 }   // namespace AGS
43 
44 #endif // __AGS_EE_DEBUG__CONSOLEOUTPUTTARGET_H
45