javaextensions/pim/javapimloc/src.s60/pimlocalizationutils.h
branchRCL_3
changeset 19 04becd199f91
equal deleted inserted replaced
16:f5050f1da672 19:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Utility class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef PIMLOCALIZATIONUTILS_H
       
    20 #define PIMLOCALIZATIONUTILS_H
       
    21 
       
    22 // EXTERNAL INCLUDES
       
    23 #include <e32std.h>
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class RResourceFile;
       
    27 class RFs;
       
    28 
       
    29 /**
       
    30  * PIM static utility class
       
    31  * @since S60 3.2
       
    32  */
       
    33 NONSHARABLE_CLASS(PIMLocalizationUtils)
       
    34 {
       
    35 public: // New static methods
       
    36 
       
    37     /**
       
    38      * OpenResourceFileLC
       
    39      * Opens a specified resource file and confirms the signature
       
    40      *
       
    41      * @param aRfs Opened file server session
       
    42      * @param aResourceFile Reference to the resource opened resource
       
    43      * @param aFileName Name of the resource file. The name doesn't countain
       
    44      *        drive nor path, only plain resource file name
       
    45      */
       
    46     static void OpenResourceFileLC(
       
    47         RFs& aRfs,
       
    48         RResourceFile& aResourceFile,
       
    49         const TDesC& aFileName);
       
    50 
       
    51 };
       
    52 
       
    53 #endif // PIMLOCALIZATIONUTILS_H
       
    54 
       
    55 // End of file