photosgallery/slideshow/engine/effectsrc/shwresourceutility.h
changeset 0 4e91876724a2
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     1 /*
       
     2 * Copyright (c) 2007-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:    Localisation utility for UI visible strings
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 //  Include Files
       
    22 #include <e32std.h>
       
    23 #include <shwslideshowengine.rsg>
       
    24 
       
    25 /**
       
    26  * Utility to handle resource file loading.
       
    27  * Resource file contains the localised effect names
       
    28  */
       
    29 NONSHARABLE_CLASS( ShwResourceUtility )
       
    30 	{
       
    31 	public:
       
    32 
       
    33 		/**
       
    34 		 * Returns a localised name for the given resource id
       
    35 		 * @param aResourceId the id for the string
       
    36 		 * @return the localised name or NULL if string not found
       
    37 		 */
       
    38 		static HBufC* LocalisedNameL( TInt aResourceId );
       
    39 	};