skins/AknSkins/sdcinc/SDCGlobals.h
author William Roberts <williamr@symbian.org>
Tue, 23 Mar 2010 16:09:27 +0000
branchSymbian3_Theme
changeset 35 838be9535c06
parent 26 800e0f20cfe9
child 33 e2effe28d8cc
permissions -rw-r--r--
Start integration branch for Symbian^3 Theme The theme has been built using Carbide.ui on S60 5th Edition using the N97 plugin The source code in sf/mw/uiresources/skins/Symbian/srcdata was used to generate the installable SIS file which lives in the group directory, but the aim here is to build the theme for delivery in the ROM (preferrably as the default theme). Running "sbs -b bld.inf -c winscw" should build cleanly and deliver a matched set of files which then show up in the Settings | Themes | General list. Attempting to install it produces "Theme Corrupted".

/*
* Copyright (c) 2003-2007 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Global data for skin descriptor compiler.
*
*/

#if !defined(AFX_SDCGLOBALS_H__F78411B6_3F64_41B6_859F_945253CC8E02__INCLUDED_)
#define AFX_SDCGLOBALS_H__F78411B6_3F64_41B6_859F_945253CC8E02__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#pragma warning(push, 3)
#pragma warning( disable : 4018 )
#pragma warning( disable : 4100 )
#pragma warning( disable : 4244 )
#pragma warning( disable : 4245 )
#pragma warning( disable : 4710 )
#pragma warning( disable : 4530 )
#pragma warning( disable : 4702 )
#pragma warning( disable : 4663 )
	
#include "SDCInput.h"

extern CSDCInput gInput;

// Must be incremented with every base platform minor
// 2.8 = 1
// 3.0 = 2
static const int gVersionMajor = 2;

static const int gVersionMinor = 140;

#if defined(__SERIES60_26__)
static const unsigned char gPlatformMajor = 2;
static const unsigned char gPlatformMinor = 6;
#elif defined(__SERIES60_27__)
// Intentionally 2.8
static const unsigned char gPlatformMajor = 2;
static const unsigned char gPlatformMinor = 8;
#elif defined(__SERIES60_28__)
static const unsigned char gPlatformMajor = 2;
static const unsigned char gPlatformMinor = 8;
#elif defined(__SERIES60_30__)
static const unsigned char gPlatformMajor = 3;
static const unsigned char gPlatformMinor = 0;
#elif defined(__SERIES60_31__)
static const unsigned char gPlatformMajor = 3;
static const unsigned char gPlatformMinor = 1;
#elif defined(__SERIES60_32__)
static const unsigned char gPlatformMajor = 3;
static const unsigned char gPlatformMinor = 2;
#elif defined(__SERIES60_50__)
static const unsigned char gPlatformMajor = 5;
static const unsigned char gPlatformMinor = 0;
#elif defined(__SERIES60_51__)
static const unsigned char gPlatformMajor = 5;
static const unsigned char gPlatformMinor = 1;
#elif defined(__SERIES60_52__)
static const unsigned char gPlatformMajor = 5;
static const unsigned char gPlatformMinor = 2;
#else
static const unsigned char gPlatformMajor = 0;
static const unsigned char gPlatformMinor = 0;
#endif

#endif // !defined(AFX_SDCGLOBALS_H__F78411B6_3F64_41B6_859F_945253CC8E02__INCLUDED_)