source: subversion/applications/utils/mod_mapnik_wms/logbuffer.h @ 22443

Last change on this file since 22443 was 22430, checked in by frederik, 9 years ago

initial release of mod_mapnik_wms, an apache2 module for running a mapnik-based wms. documentation & mailing list announcement to follow in a few days

File size: 369 bytes
Line 
1/**
2 * header file for logbuffer
3 *
4 * see comments in logbuffer.cpp
5 */
6
7#include <stdio.h>
8#include <iostream>
9#include <fstream>
10
11class logbuffer : public std::streambuf
12{
13public:
14   logbuffer(FILE*);
15   ~logbuffer();
16
17protected:
18   virtual int overflow(int c = EOF);
19   virtual int sync();
20
21private:
22   FILE* fptr;
23   std::string buffer;
24   void dump_buffer();
25};
Note: See TracBrowser for help on using the repository browser.