Show
Ignore:
Timestamp:
07/11/06 15:21:30 (2 years ago)
Author:
patrick
Message:

Moved things around so that the contents of the *Param.h files is solely
preprocessor symbol definitions. This is what I had originally intended for
these files, but more importantly, this fends off a circular include problem
that would have been a huge hass le on Windows once we have automatic
linking in place.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/trunk/modules/gadgeteer/gadget/gadgetParam.h.in

    r18824 r19023  
    2828#define _GAD_PARAM_H_ 
    2929 
    30 #include <gadget/gadgetConfig.h> 
    31  
    32  
    3330/** 
    3431 * The 9-digit Gadgeteer version integer. This form provides three digits for 
     
    4037 
    4138/** 
     39 * The Gadgeteer version \em string. Instead of referencing this symbol, use 
     40 * gadget::GADGET_VERSION or gadget::getVersionString(). 
     41 */ 
     42#define __GADGET_VERSION_STRING__ @VER_STRING@ 
     43 
     44/** 
    4245 * The individual Gadgeteer version numbers. 
    4346 */ 
     
    4649#define __GADGET_PATCH__ @PATCH_VER_NUMBER@ 
    4750 
    48 namespace gadget 
    49 { 
    50    /** 
    51     * This is the "human-readable" Gadgeteer version \em string. The full form 
    52     * includes the version number (major.minor.patch-build), the canonical 
    53     * name of the release, the threading subsystem, and the build date. The 
    54     * major version number is updated when major architectural changes are 
    55     * made; the minor when there are minor API changes; and the patch when 
    56     * there are bug fixes. The build number is usually representative of the 
    57     * nightly build process relative to a given version x.y.z. 
    58     * 
    59     * @see gadget::getVersionString() 
    60     */ 
    61    extern GADGET_DATA_API(const char*) GADGET_VERSION; 
    62 } 
    63  
    64  
    6551#endif  /* _GAD_PARAM_H_ */