Main Page   Alphabetical List   Data Structures   File List   Globals  

white_interface.h

Go to the documentation of this file.
00001 
00099 #ifndef _Spyros_core_wht_c_white_face_h_
00100 #define _Spyros_core_wht_c_white_face_h_
00101 
00102 /* directives for VCC types */
00103 
00104 #include <Stratego_DrawSprite.h>
00105 #include <VCC_Whitebox_C_Types.h>
00106 #include <Stratego_move.h>
00107 #include <Stratego_PrintString.h>
00108 #include <Stratego_button.h>
00109 
00110 #pragma vccType DrawSprite Stratego
00111 
00112 #pragma vccType move Stratego
00113 
00114 #pragma vccType PrintString Stratego
00115 
00116 #pragma vccType button Stratego
00117 
00118 /* Input port access functions */
00119 
00123 extern int button_in_Enabled();
00124 
00128 extern button *button_in_Value();
00129 
00133 extern int move_in_Enabled() ;
00134 
00138 extern move *move_in_Value() ;
00139 
00140 /* Output port access functions */
00141 
00145 extern void button_out_Post(button *) ;
00146 
00150 extern void move_out_Post(move *) ;
00151 
00155 extern void draw_Post(DrawSprite *) ;
00156 
00160 extern void print_Post(PrintString *) ;
00161 
00162 
00163 
00164 
00165 
00166 /* Input ports */
00167 
00169 #pragma input button_in
00170 button button_in;
00171 
00174 #pragma input move_in
00175 move move_in;
00176 
00177 /* Output ports */
00178 
00181 #pragma output button_out
00182 button button_out;
00183 
00186 #pragma output move_out
00187 move move_out;
00188 
00191 #pragma output draw
00192 DrawSprite draw;
00193 
00196 #pragma output print
00197 PrintString print;
00198 
00199 
00200 #endif
00201 

Generated on Sat Mar 16 13:12:15 2002 for SLIP 2002 - Stratego2Go by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002