uifw/uiklaf/inc/lafgrip.inl
author Shabe Razvi <shaber@symbian.org>
Tue, 15 Jun 2010 15:06:09 +0100
branchGCC_SURGE
changeset 31 335efd829e98
parent 0 2f259fa3e83a
permissions -rw-r--r--
Bug 2947 - GCC compilation issues in sf/mw/classicui

/*
* Copyright (c) 1997-1999 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:
*
*/


enum {EOrientationMask=TLafGrip::EVertical};
enum {ELineWidth=2,ESpaceBetweenLines=3};

inline TLafGrip::TLafGrip(TOrientation aOrientation)
	: iData(aOrientation)
	{}

inline void TLafGrip::SetOrientation(TOrientation aOrientation)
	{
	iData=(iData&(~EOrientationMask))|aOrientation;
	}

inline TLafGrip::TOrientation TLafGrip::Orientation() const
	{
	return (TOrientation)(iData&EOrientationMask);
	}