photosgallery/viewframework/layouts/inc/glxlayoutinfo.inl
changeset 0 4e91876724a2
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     1 /*
       
     2 * Copyright (c) 2008-2009 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:    Layout base classes
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __GLXLAYOUTINFO_INL__
       
    22 #define __GLXLAYOUTINFO_INL__
       
    23 
       
    24 #include <glxpanic.h> // Panic codes
       
    25 
       
    26 class CAlfVisual;
       
    27 inline TInt TGlxLayoutInfo::Index() const
       
    28 	{
       
    29 	return iIndex;
       
    30 	}
       
    31 
       
    32 inline CAlfVisual& TGlxLayoutInfo::Visual()
       
    33 	{
       
    34 	// visual must never be null when doing layout
       
    35 //	__ASSERT_ALWAYS( iVisual, Panic( EGlxPanicNullCAlfVisual ) );
       
    36 	return *iVisual;
       
    37 	}
       
    38 
       
    39 #endif // __GLXLAYOUTINFO_INL__
       
    40