Last change
on this file since 374 was
372,
checked in by sz, 10 years ago
|
Renamed some classes and functions to make their purpose more obvious:
All MessageHandlers? must now be given the explicit "Enable" argument if you want them to automatically become active. This makes side effects clearly visible.
|
-
Property svn:eol-style set to
native
|
File size:
551 bytes
|
Rev | Line | |
---|
[286] | 1 | // This file is a part of Framsticks SDK. http://www.framsticks.com/ |
---|
| 2 | // Copyright (C) 1999-2015 Maciej Komosinski and Szymon Ulatowski. |
---|
| 3 | // See LICENSE.txt for details. |
---|
[109] | 4 | |
---|
[372] | 5 | #ifndef _STDOUTHANDLER_H_ |
---|
| 6 | #define _STDOUTHANDLER_H_ |
---|
[109] | 7 | |
---|
[372] | 8 | #include "mhandlers.h" |
---|
[109] | 9 | #include <frams/virtfile/virtfile.h> |
---|
| 10 | |
---|
[372] | 11 | class MessageHandlerToStdout : public MessageHandlerBase |
---|
[109] | 12 | { |
---|
[336] | 13 | VirtFILE *file; |
---|
| 14 | public: |
---|
[372] | 15 | MessageHandlerToStdout(int opts = 0, VirtFILE *_file = NULL) :MessageHandlerBase(opts), file(_file) {} |
---|
[336] | 16 | void handle(const char *o, const char *m, const char *bl, int w); |
---|
[109] | 17 | }; |
---|
| 18 | |
---|
| 19 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.