usbmgmt/usbmgrtest/t_charging_arm/inc/usbchargingarmtest.h
changeset 0 c9bc50fca66e
equal deleted inserted replaced
-1:000000000000 0:c9bc50fca66e
       
     1 /*
       
     2 * Copyright (c) 2006-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 #ifndef __USBCHARGINGARM_H__
       
    19 #define __USBCHARGINGARM_H__
       
    20 
       
    21 #include "testbase.h"
       
    22 #include <e32property.h>
       
    23 #include <usbman.h>
       
    24 #include <centralrepository.h>
       
    25 
       
    26 /**
       
    27 */
       
    28 class CUsbChargingArmTest : public CTestBase 
       
    29 	{
       
    30 public:
       
    31 	static CTestBase* NewL(MTestManager& aManager);
       
    32 	~CUsbChargingArmTest();
       
    33 
       
    34 private:
       
    35 	CUsbChargingArmTest(MTestManager& aManager);
       
    36 	void ConstructL();
       
    37 
       
    38 private: // from CTestBase
       
    39 	void ProcessKeyL(TKeyCode aKeyCode);
       
    40 	void DisplayTestSpecificMenu();
       
    41 
       
    42 private: // owned
       
    43 	CRepository*	iRepository;
       
    44 	TUid		iRepositoryUid;
       
    45 	TUint		iId;
       
    46 	RUsb iUsbMan;
       
    47 	};
       
    48 
       
    49 #endif // __USBCHARGINGARM_H__