source: subversion/applications/utils/tirex/backend-mapnik/requesthandler.cc @ 29342

Last change on this file since 29342 was 21122, checked in by jochen, 9 years ago

great cleanup and reorganisation of debian packages

File size: 535 bytes
Line 
1/*
2 * Tirex Tile Rendering System
3 *
4 * Mapnik rendering backend
5 *
6 * Originally written by Jochen Topf & Frederik Ramm.
7 *
8 */
9
10#include "requesthandler.h"
11
12#include <vector>
13#include <stdarg.h>
14
15RequestHandler::RequestHandler()
16{
17    mpStatusReceiver = NULL;
18}
19
20void RequestHandler::updateStatus(const char *fmt, ...) const
21{
22    char buffer[256];
23    va_list args;
24    va_start(args, fmt);
25    vsnprintf(buffer, 255, fmt, args);
26    buffer[255]=0;
27    va_end(args);
28    if (mpStatusReceiver) mpStatusReceiver->setStatus(buffer);
29}
Note: See TracBrowser for help on using the repository browser.