ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/driver.h
(Generate patch)

Comparing ray/src/rt/driver.h (file contents):
Revision 2.5 by greg, Tue Feb 25 02:47:22 2003 UTC vs.
Revision 2.6 by schorsch, Sat Jun 7 00:54:58 2003 UTC

# Line 2 | Line 2
2   /*
3   *  driver.h - header file for interactive device drivers.
4   */
5 + #ifndef _RAD_DRIVER_H_
6 + #define _RAD_DRIVER_H_
7 + #ifdef __cplusplus
8 + extern "C" {
9 + #endif
10  
11 +
12   #include "copyright.h"
13  
14   struct driver {                         /* driver functions */
# Line 115 | Line 121 | extern char  dev_default[];            /* default device name */
121   *      to check for input during calls to paintr.)
122   */
123  
118 #ifdef NOPROTO
119
120 extern void     editline();
121 extern void     tocombuf();
122 extern int      fromcombuf();
123 extern struct driver    *slave_init();
124 extern struct driver    *comm_init();
125 extern int      new_ctab();
126 extern int      get_pixel();
127 extern void     make_gmap();
128 extern void     set_cmap();
129 extern void     map_color();
130
131 #else
124                                          /* defined in editline.c */
125   extern void     editline(char *buf, int (*c_get)(), void (*s_put)());
126   extern void     tocombuf(char *b, struct driver *d);
# Line 143 | Line 135 | extern void    make_gmap(double gam);
135   extern void     set_cmap(BYTE *rmap, BYTE *gmap, BYTE *bmap);
136   extern void     map_color(BYTE rgb[3], COLOR col);
137  
138 +
139 + #ifdef __cplusplus
140 + }
141   #endif
142 + #endif /* _RAD_DRIVER_H_ */
143 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines