wvuing/Utils/CAVersion.h
branchRCL_3
changeset 13 a941bc465d9f
parent 0 094583676ce7
equal deleted inserted replaced
12:6ca72c0fe49a 13:a941bc465d9f
       
     1 /*
       
     2 * Copyright (c) 2004 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:  Version provider for IM.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __CAVERSION_H__
       
    20 #define __CAVERSION_H__
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 //	FORWARD CLASS DECLERATIONS
       
    25 
       
    26 // CLASS DECLARATION
       
    27 class	RFs;
       
    28 
       
    29 /**
       
    30  *  Utils for IM modules.
       
    31  *
       
    32  *  @lib CAEngine.dll
       
    33  *  @since 3.0
       
    34  */
       
    35 class CAVersion // CSI: 51 # This is not a C-class although it begins with CA
       
    36     {
       
    37     public: // new methods
       
    38 
       
    39         /**
       
    40          * Copies the content of aOwnVersionFile to aTergetFilem
       
    41          * if they are the same
       
    42          * @param aFs
       
    43          * @param aOwnVersionFile, give only file name. Path will be
       
    44          *                         retrieved from aFs and PathInfo.
       
    45          * @param aTergetFile, give file name with path without
       
    46          *                     drive letter. Drive will be retrieved
       
    47          *                     from PathInfo.
       
    48          * @return KErrNone on success or system wide error code
       
    49          * @since 2.8
       
    50          */
       
    51         static TInt UpdateVersion( RFs& aFs
       
    52                                    , const TDesC& aOwnVersionFile
       
    53                                    , const TDesC& aTergetFile );
       
    54 
       
    55     };
       
    56 
       
    57 #endif      // __CAVERSION_H__
       
    58 
       
    59 // End of File