devicesrvapitest/hwrmhaitest/hwrm/inc/T_CRepositoryData.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     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 #ifndef T_CREPOSITORY_DATA_H
       
    20 #define T_CREPOSITORY_DATA_H
       
    21 
       
    22 //User Includes
       
    23 #include "datawrapperbase.h"
       
    24 
       
    25 //Epoc Includes
       
    26 #include <centralrepository.h>//CRepository
       
    27 
       
    28 class CT_CRepositoryData : public CDataWrapperBase
       
    29 	{
       
    30 public:
       
    31 	~CT_CRepositoryData();
       
    32 	static	CT_CRepositoryData* NewL();
       
    33 	virtual TAny* GetObject();
       
    34 	virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
       
    35 	CT_CRepositoryData();
       
    36 	
       
    37 private:
       
    38 	
       
    39 	void ConstructL();
       
    40 
       
    41 	void DestroyData();
       
    42 	
       
    43 private:
       
    44 	void DoCmdNewL(const TTEFSectionName& aSection);
       
    45 	void DoCmdDestructor();
       
    46     void DoCmdSet(const TTEFSectionName& aSection);
       
    47     
       
    48 private:
       
    49 	/**
       
    50 	 * Wrapped object
       
    51 	 */
       
    52     CRepository* iRepository;
       
    53     	
       
    54 	};
       
    55 
       
    56 
       
    57 #endif //T_CREPOSITORY_DATA_H
       
    58 
       
    59