homescreensrv_plat/menu_content_service_api/tsrc/inc/testutils.h
changeset 0 79c6a41cd166
equal deleted inserted replaced
-1:000000000000 0:79c6a41cd166
       
     1 /*
       
     2 * Copyright (c) 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:
       
    15 *
       
    16 */
       
    17 
       
    18 class CTestUtils: public CBase
       
    19 {
       
    20 public:
       
    21 
       
    22     /**/
       
    23     virtual ~CTestUtils();
       
    24 
       
    25     /**/
       
    26     static CTestUtils* NewL();
       
    27 
       
    28     /**/
       
    29     static CTestUtils* NewLC();
       
    30    
       
    31     TInt Copy( const TDesC& aFileName, TInt aSuffix = 0 );
       
    32     TInt CopyImport( const TDesC& aFileName, TInt aSuffix = 0 );
       
    33     TInt Copy( const TDesC& aSource, const TDesC& aDest );
       
    34     TInt Delete( /*const TDesC& aFilePath*/ );
       
    35     void InstallSisL( const TDesC& aName );
       
    36     void UninstallSisL( const TDesC& aName );
       
    37 
       
    38 private:
       
    39 
       
    40 
       
    41     CTestUtils();
       
    42 
       
    43     void ConstructL();
       
    44 
       
    45 
       
    46 private:
       
    47     RFs iFs;
       
    48     CFileMan* iFileManager;
       
    49 };