source: cpp/frams/errmgr/stdouterr.h @ 114

Last change on this file since 114 was 109, checked in by sz, 10 years ago

source reorganization (see README)
new feature added: part/joint shapes (see frams/_demos/part_shapes.cpp)

  • Property svn:eol-style set to native
File size: 570 bytes
Line 
1// This file is a part of the Framsticks GDK library.
2// Copyright (C) 2002-2011  Szymon Ulatowski.  See LICENSE.txt for details.
3// Refer to http://www.framsticks.com/ for further information.
4
5#ifndef _STDOUTERRORHANDLER_H_
6#define _STDOUTERRORHANDLER_H_
7
8#include "errmanager.h"
9#include <frams/virtfile/virtfile.h>
10
11class StdoutErrorHandler: public ErrorHandlerBase
12{
13VirtFILE *file;
14  public:
15StdoutErrorHandler(int opts=DontBlock,VirtFILE *_file=NULL):ErrorHandlerBase(opts),file(_file) {}
16void handle(const char *o,const char *m,const char *bl,int w);
17};
18
19#endif
Note: See TracBrowser for help on using the repository browser.