datacommsserver/esockserver/commsdataobjects/test/src/queryconnsettingstiermgrimpl.h
changeset 0 dfb7c4ff071f
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     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 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalTechnology
       
    19 */
       
    20 
       
    21 
       
    22 #ifndef QUERYCONNSETTINGSTIERMGRIMPL_H
       
    23 #define QUERYCONNSETTINGSTIERMGRIMPL_H
       
    24 
       
    25 #include <metadatabase.h>
       
    26 #include <comms-infras/ss_commsdataobject.h>
       
    27 #include <comms-infras/ss_tiermanagerutils.h>
       
    28 
       
    29 using namespace ESock;
       
    30 
       
    31 class CQueryConnSettingsTierMgrImpl : public CBase, public MQueryConnSettingsApiExt
       
    32 	{
       
    33 public:
       
    34 	static CQueryConnSettingsTierMgrImpl* NewL(TUint aIap);
       
    35 	
       
    36 	virtual TInt GetInt(CommsDat::TMDBElementId aElementId, TUint32& aValue, MPlatsecApiExt* aPlatsecApiExt);
       
    37 	virtual TInt GetInt(CommsDat::TMDBElementId aElementId, TInt& aValue, MPlatsecApiExt* aPlatsecApiExt);
       
    38 	virtual TInt GetBool(CommsDat::TMDBElementId aElementId, TBool& aValue, MPlatsecApiExt* aPlatsecApiExt);
       
    39 	virtual TInt GetText(CommsDat::TMDBElementId aElementId, HBufC8*& aValue, MPlatsecApiExt* aPlatsecApiExt);
       
    40 	virtual TInt GetText(CommsDat::TMDBElementId aElementId, HBufC16*& aValue, MPlatsecApiExt* aPlatsecApiExt);
       
    41 
       
    42 	~CQueryConnSettingsTierMgrImpl() 
       
    43 		{
       
    44 		delete iIapView;
       
    45 		}
       
    46 
       
    47 private:
       
    48 	CQueryConnSettingsTierMgrImpl() 
       
    49 		{
       
    50 		}
       
    51 
       
    52 private:
       
    53 	CCommsDatIapView* iIapView;
       
    54 	};
       
    55 
       
    56 
       
    57 #endif
       
    58 // QUERYCONNSETTINGSTIERMGRIMPL_H
       
    59