textinput/peninputarc/inc/peninputlayoutcontrolinc/peninputlayout.inl
author Simon Howkins <simonh@symbian.org>
Mon, 15 Nov 2010 14:00:51 +0000
branchRCL_3
changeset 59 7febbd162ded
parent 44 ecbabf52600f
permissions -rw-r--r--
Removed unnecessary #ifdef guards around an inclusion - the included file has them anyway.

/*
* Copyright (c) 2005-2006 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:  Inline function for CFepUiLayout
*
*/

// ---------------------------------------------------------------------------
// get layout root control
// ---------------------------------------------------------------------------
//
#include "peninputlayoutrootctrl.h"
inline CFepUiLayoutRootCtrl* CFepUiLayout::RootControl()
    {
    return iRootCtrl;
    }

// ---------------------------------------------------------------------------
// get layout control list
// ---------------------------------------------------------------------------
//    
inline const RPointerArray<CFepUiBaseCtrl>& CFepUiLayout::ControlList()
    {
    return iRootCtrl->ControlList();
    }

// ---------------------------------------------------------------------------
// get layout owner
// ---------------------------------------------------------------------------
//
inline MLayoutOwner* CFepUiLayout::LayoutOwner()
    {
    return iLayoutOwner;
    }
    
// ---------------------------------------------------------------------------
// Set layout window
// ---------------------------------------------------------------------------
//

// ---------------------------------------------------------------------------
// Set display screen size
// ---------------------------------------------------------------------------
//
inline void CFepUiLayout::SetScreenSize(const TSize& aSize)
    {
    iScreenSize = aSize;
    }
    
// ---------------------------------------------------------------------------
// Get screen size
// ---------------------------------------------------------------------------
//
inline const TSize& CFepUiLayout::ScreenSize()
    {
    return iScreenSize;
    }

// ---------------------------------------------------------------------------
// Get layout status
// ---------------------------------------------------------------------------
//
inline TBool CFepUiLayout::LayoutReady()
    {
    return iLayoutReady;
    }
  
// ---------------------------------------------------------------------------
// Get the locked area
// ---------------------------------------------------------------------------
//    
inline const TRect& CFepUiLayout::LockedArea()
    {
    return iLockedArea;
    }
    
// ---------------------------------------------------------------------------
// Get the locked area owner
// ---------------------------------------------------------------------------
//        
const CFepUiBaseCtrl* CFepUiLayout::LockareaOwner() const
    {
    return iLockedAreaOwner;
    }

// ---------------------------------------------------------------------------
// get skins instance
// ---------------------------------------------------------------------------
//
inline MAknsSkinInstance* CFepUiLayout::SkinInstance()
	{
	return iExtension->iSkinInstance;
	}

// ---------------------------------------------------------------------------
// get skins TouchFeedback instance
// ---------------------------------------------------------------------------
//
inline MTouchFeedback* CFepUiLayout::TouchFeedbackInstance()
	{
	return iExtension->iTouchFeedbackInstance;
	}
//end of file