Changeset 422 for branches


Ignore:
Timestamp:
02/23/14 17:31:36 (6 years ago)
Author:
jls17
Message:
  • fixed an error in the version definition for 8.1 in ARApi.h
  • added some version checks so ARInside could be compiled with older api versions again
Location:
branches/work_304
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/work_304/ARApi.h

    r325 r422  
    8080#define AR_API_VERSION_764 18 
    8181#define AR_API_VERSION_800 19 
    82 #define AR_API_VERISON_810 20 
     82#define AR_API_VERSION_810 20 
    8383 
    8484// see AR_EXPORT_VERSION in arstruct.h for definition 
  • branches/work_304/core/AREnum.cpp

    r406 r422  
    26442644        switch (nType) 
    26452645        { 
     2646#if AR_CURRENT_API_VERSION >= AR_API_VERSION_763 
    26462647        case AR_MFS_WEIGHTED_RELEVANCY_TITLE_FIELD_TAG: return "Title"; 
    26472648        case AR_MFS_WEIGHTED_RELEVANCY_ENVIRONMENT_FIELD_TAG: return "Environment"; 
    26482649        case AR_MFS_WEIGHTED_RELEVANCY_KEYWORDS_FIELD_TAG: return "Keywords"; 
    2649         default: return EnumDefault; 
    2650         } 
    2651 } 
     2650#endif 
     2651        default: return EnumDefault; 
     2652        } 
     2653} 
  • branches/work_304/core/AREscalation.cpp

    r421 r422  
    195195{ 
    196196        unsigned int escalPool = 0; 
     197#if AR_CURRENT_API_VERSION >= AR_API_VERSION_710 
    197198        if (CARInside::GetInstance()->CompareServerVersion(7, 1) >= 0) 
    198199        { 
     
    208209                        escalPool = val->u.intVal; 
    209210        } 
     211#endif 
    210212        return escalPool; 
    211213} 
Note: See TracChangeset for help on using the changeset viewer.