sysstatemgmt/systemstatereferenceplugins/custcmd/inc/cmddeletetempfiles.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalComponent
       
    19  @released
       
    20 */
       
    21 
       
    22 #ifndef CMDDELETETEMPFILES_H
       
    23 #define CMDDELETETEMPFILES_H
       
    24 
       
    25 #include <ssm/ssmcustomcommand.h>
       
    26 #include <f32file.h>
       
    27 class CSsmCustomCommandEnv;
       
    28 
       
    29 NONSHARABLE_CLASS(CCustomCmdDeleteTempFiles) : public CBase, public MSsmCustomCommand
       
    30     {
       
    31 public:
       
    32 	static CCustomCmdDeleteTempFiles* NewL();
       
    33 
       
    34 	// From MSsmCustomCommand
       
    35 	TInt Initialize(CSsmCustomCommandEnv* aCmdEnv);
       
    36 	void Execute(const TDesC8& aParams, TRequestStatus& aRequest);
       
    37 	void ExecuteCancel();
       
    38 	void Close();
       
    39 	void Release();
       
    40 
       
    41 private:
       
    42 	CCustomCmdDeleteTempFiles();
       
    43 	~CCustomCmdDeleteTempFiles();
       
    44 	void DeleteTempFilesL();
       
    45 
       
    46 private:
       
    47     RFs iFs; //Not owned
       
    48     };
       
    49 #endif // CMDDELETETEMPFILES_H