// This file is a part of Framsticks SDK. http://www.framsticks.com/ // Copyright (C) 1999-2015 Maciej Komosinski and Szymon Ulatowski. // See LICENSE.txt for details. #ifndef _STDOUTERRORHANDLER_H_ #define _STDOUTERRORHANDLER_H_ #include "errmanager.h" #include class StdoutErrorHandler : public ErrorHandlerBase { VirtFILE *file; public: StdoutErrorHandler(int opts = DontBlock, VirtFILE *_file = NULL) :ErrorHandlerBase(opts), file(_file) {} void handle(const char *o, const char *m, const char *bl, int w); }; #endif