Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/QNX4/Extern.hpp

Go to the documentation of this file.
00001 #ifndef __J2K__EXTERN_HPP__
00002 #define __J2K__EXTERN_HPP__
00003  
00004    #include "Project.hpp"
00005   
00006    // This file must be included inside your .cc file
00007    // not inside your .hh header file else it won't work.
00008   
00009    // For example, this should be inside my_class.cc file
00010    // like this:  #include "Extern.hpp"
00011    
00012    // Add here all your Global Variable declaration
00013    // for your class object pointer.
00014    
00015    // This says that the global Variable 'board' exist
00016    // IT DOESN'T CREATE IT !
00017    //
00018    // IT MUST BE DEFINED ONCE FOR ALL OUTSIDE of main()
00019    // in your main.cc file, then you shall create
00020    // the board object in your main() body.
00021   
00022    extern Board*   board;
00023 
00024 /*
00025    extern Board*   b1;
00026    extern Reader*  r1;
00027    extern Writer*  w1;
00028 */
00029 
00030 #endif

Generated on Sun Oct 14 18:46:41 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001