skins/AknSkins/sdcinc/SDCGlobals.h
changeset 0 05e9090e2422
child 1 ba33815114d6
equal deleted inserted replaced
-1:000000000000 0:05e9090e2422
       
     1 /*
       
     2 * Copyright (c) 2003-2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Global data for skin descriptor compiler.
       
    15 *
       
    16 */
       
    17 
       
    18 #if !defined(AFX_SDCGLOBALS_H__F78411B6_3F64_41B6_859F_945253CC8E02__INCLUDED_)
       
    19 #define AFX_SDCGLOBALS_H__F78411B6_3F64_41B6_859F_945253CC8E02__INCLUDED_
       
    20 
       
    21 #if _MSC_VER > 1000
       
    22 #pragma once
       
    23 #endif // _MSC_VER > 1000
       
    24 
       
    25 #pragma warning(push, 3)
       
    26 #pragma warning( disable : 4018 )
       
    27 #pragma warning( disable : 4100 )
       
    28 #pragma warning( disable : 4244 )
       
    29 #pragma warning( disable : 4245 )
       
    30 #pragma warning( disable : 4710 )
       
    31 #pragma warning( disable : 4530 )
       
    32 #pragma warning( disable : 4702 )
       
    33 #pragma warning( disable : 4663 )
       
    34 	
       
    35 #include "SDCInput.h"
       
    36 
       
    37 extern CSDCInput gInput;
       
    38 
       
    39 // Must be incremented with every base platform minor
       
    40 // 2.8 = 1
       
    41 // 3.0 = 2
       
    42 static const int gVersionMajor = 2;
       
    43 
       
    44 static const int gVersionMinor = 135;
       
    45 
       
    46 #if defined(__SERIES60_26__)
       
    47 static const unsigned char gPlatformMajor = 2;
       
    48 static const unsigned char gPlatformMinor = 6;
       
    49 #elif defined(__SERIES60_27__)
       
    50 // Intentionally 2.8
       
    51 static const unsigned char gPlatformMajor = 2;
       
    52 static const unsigned char gPlatformMinor = 8;
       
    53 #elif defined(__SERIES60_28__)
       
    54 static const unsigned char gPlatformMajor = 2;
       
    55 static const unsigned char gPlatformMinor = 8;
       
    56 #elif defined(__SERIES60_30__)
       
    57 static const unsigned char gPlatformMajor = 3;
       
    58 static const unsigned char gPlatformMinor = 0;
       
    59 #elif defined(__SERIES60_31__)
       
    60 static const unsigned char gPlatformMajor = 3;
       
    61 static const unsigned char gPlatformMinor = 1;
       
    62 #elif defined(__SERIES60_32__)
       
    63 static const unsigned char gPlatformMajor = 3;
       
    64 static const unsigned char gPlatformMinor = 2;
       
    65 #else
       
    66 static const unsigned char gPlatformMajor = 0;
       
    67 static const unsigned char gPlatformMinor = 0;
       
    68 #endif
       
    69 
       
    70 #endif // !defined(AFX_SDCGLOBALS_H__F78411B6_3F64_41B6_859F_945253CC8E02__INCLUDED_)