source: geovis/trunk/PPMWriter.h @ 4822

Last change on this file since 4822 was 3998, checked in by ldelgass, 11 years ago

Add prelimilary skeleton for geovis map rendering server. Not functional, not
integrated into configure, etc.

File size: 590 bytes
Line 
1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2/*
3 * Copyright (C) 2004-2013  HUBzero Foundation, LLC
4 *
5 * Author: George A. Howlett <gah@purdue.edu>
6 */
7
8#ifndef GEOVIS_PPMWRITER_H
9#define GEOVIS_PPMWRITER_H
10
11#ifdef USE_THREADS
12#include "ResponseQueue.h"
13#endif
14
15namespace GeoVis {
16#ifdef USE_THREADS
17extern
18void queuePPM(ResponseQueue *queue, const char *cmdName,
19              const unsigned char *data, int width, int height);
20#else
21extern
22void writePPM(int fd, const char *cmdName,
23              const unsigned char *data, int width, int height);
24#endif
25}
26#endif
Note: See TracBrowser for help on using the repository browser.