internetradio2.0/uicontrolsinc/irlayoututils.h
changeset 14 896e9dbc5f19
parent 12 608f67c22514
child 15 065198191975
equal deleted inserted replaced
12:608f67c22514 14:896e9dbc5f19
     1 /*
       
     2 * Copyright (c) 2008-2008 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:  Utilities for layouting purposes
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef IRLAYOUTUTILS_H
       
    20 #define IRLAYOUTUTILS_H
       
    21 
       
    22 #include <e32cmn.h>
       
    23 
       
    24 /**
       
    25  *  Utilities for layouting purposes
       
    26  */
       
    27 class IRLayoutUtils
       
    28     {
       
    29 public:
       
    30 
       
    31     /**
       
    32      * Returns the preferred size for the big logo stored for the preset
       
    33      * 
       
    34      * @return The size
       
    35      */
       
    36     static TSize PresetBigLogoSize();
       
    37     
       
    38     /**
       
    39      * Returns the preferred size for the small logo stored for the preset
       
    40      * 
       
    41      * @return The size
       
    42      */
       
    43    // static TSize PresetSmallLogoSizeL()
       
    44     
       
    45     /**
       
    46      * Returns the preferred size for the advertisement in SDS view.
       
    47      * 
       
    48      * @return The size
       
    49      */
       
    50     static TSize AdvertisementSizeL();
       
    51     };
       
    52 
       
    53 
       
    54 #endif // IRLAYOUTUTILS_H