sysstatemgmt/systemstatemgr/test/tcmd/inc/tcustom_cmdimpl.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2007-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 // Reference code for a custom command used by ssma
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @test
       
    21  @internalComponent - Internal Symbian test code 
       
    22 */
       
    23  
       
    24 
       
    25 #ifndef __CMDTEST_CUSTOMCOMMANDIMPL_H__
       
    26 #define __CMDTEST_CUSTOMCOMMANDIMPL_H__
       
    27 
       
    28 #include <e32base.h>
       
    29 #include <f32file.h>
       
    30 
       
    31 #include <ssm/ssmcustomcommand.h>
       
    32 
       
    33 class RefCustomCommand : public MSsmCustomCommand
       
    34 	{
       
    35 public:
       
    36 	RefCustomCommand();
       
    37 	~RefCustomCommand();
       
    38 	TInt Initialize(CSsmCustomCommandEnv* aCmdEnv);
       
    39 	void Execute(const TDesC8& aParams, TRequestStatus& aRequest);
       
    40 	void Close();
       
    41 	void Release();
       
    42 	void ExecuteCancel();
       
    43 
       
    44 private:	
       
    45 	// Members for tcustom_cmd_rleak.dll
       
    46 	RFs iFs1;
       
    47 	RFs iFs2;
       
    48 	RFs iFs3;
       
    49 		
       
    50 	TInt iCount;
       
    51 	};
       
    52 
       
    53 #endif // __CMDTEST_CUSTOMCOMMANDIMPL_H__