os/kernelhwsrv/baseapitest/basesvs/validation/f32/sfsrv/inc/T_VolumeInfoData.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2 * Copyright (c) 2005-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 
    19 
    20 #ifndef __T_VOLUME_INFO_DATA_H__
    21 #define __T_VOLUME_INFO_DATA_H__
    22 
    23 //	User Includes
    24 #include "DataWrapperBase.h"
    25 #include "T_FsData.h"
    26 
    27 //	EPOC includes
    28 #include <f32file.h>
    29 #include <e32std.h>
    30 #include <f32fsys.h>
    31 
    32 
    33 class CT_VolumeInfoData: public CDataWrapperBase
    34 	{
    35 public:
    36 	static CT_VolumeInfoData* NewL();
    37 	~CT_VolumeInfoData();
    38 
    39 	virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
    40 	virtual TAny* GetObject();
    41 	virtual void SetObjectL(TAny* aAny);
    42 	virtual void DisownObjectL();	
    43 	inline virtual TCleanupOperation CleanupOperation();
    44 
    45 protected:
    46 	CT_VolumeInfoData();
    47 	void ConstructL();
    48 
    49 private:	
    50     inline void DoCleanup();
    51     inline void DoCmdNew();
    52     
    53     static void CleanupOperation(TAny* aAny);
    54 
    55 private:
    56 	
    57 	//	TVolumeInfo class instance that is tested
    58 	TVolumeInfo*		iVolumeInfo;
    59 	};
    60 
    61 #endif // __T_VOLUME_INFO_DATA_H__