openvg/openvginterface/include/vgu.h
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // VG/VGU.H
       
    15 // 
       
    16 //
       
    17 
       
    18 #ifndef __VG_VGU_H_
       
    19 #define __VG_VGU_H_
       
    20 
       
    21 
       
    22 /**
       
    23 @file
       
    24 @publishedAll
       
    25 @released
       
    26 
       
    27 WARNING: File for internal and partner use ONLY.  Compatibility is not guaranteed in future releases.	
       
    28 
       
    29 __OPENVGHEADERS_USE_VG_1_1
       
    30     
       
    31 The purpose of this define is to allow a staged migration 
       
    32 from OpenVG 1.0.1 to OpenVG 1.1. 
       
    33 
       
    34 If __OPENVGHEADERS_USE_VG_1_1 is defined, then VG/vgu.h will redirect to 
       
    35 the OPENVG 1.1 API.
       
    36 If __OPENVGHEADERS_USE_VG_1_1 is not defined, then VG/vgu.h 
       
    37 will redirect to the Symbian default version, currently OPENVG 1.0.1. 
       
    38 
       
    39 SDK creators should place this #define in their OEM-specific system-wide
       
    40 .hrh file in order to make client programs use OpenVG 1.1 headers.  
       
    41 Symbian product configurations never set this behaviour.
       
    42 */
       
    43 #if defined(__OPENVGHEADERS_USE_VG_1_1) && !defined(OPENVG_RESTRICTED_TO_1_0)
       
    44 #include <VG/1.1/vgu.h>
       
    45 #else
       
    46 #include <VG/1.0/vgu.h>
       
    47 #endif
       
    48 
       
    49 #endif /* __VG_VGU_H_ */
       
    50