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.7 by greg, Fri Jun 27 06:53:22 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  
6 #include "copyright.h"
7
11   struct driver {                         /* driver functions */
12          void  (*close)();                       /* close device */
13          void  (*clear)();                       /* clear device */
# Line 115 | Line 118 | extern char  dev_default[];            /* default device name */
118   *      to check for input during calls to paintr.)
119   */
120  
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
121                                          /* defined in editline.c */
122   extern void     editline(char *buf, int (*c_get)(), void (*s_put)());
123   extern void     tocombuf(char *b, struct driver *d);
# Line 143 | Line 132 | extern void    make_gmap(double gam);
132   extern void     set_cmap(BYTE *rmap, BYTE *gmap, BYTE *bmap);
133   extern void     map_color(BYTE rgb[3], COLOR col);
134  
135 +
136 + #ifdef __cplusplus
137 + }
138   #endif
139 + #endif /* _RAD_DRIVER_H_ */
140 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines