usbmgmt/usbmgrtest/t_ncm/inc/exitcommand.h
branchRCL_3
changeset 15 f92a4f87e424
equal deleted inserted replaced
14:d3e8e7d462dd 15:f92a4f87e424
       
     1 /*
       
     2 * Copyright (c) 2002-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 /** @file
       
    19  @internalComponent
       
    20  @test
       
    21  */
       
    22 
       
    23 
       
    24 #ifndef EXITCOMMAND_H
       
    25 #define EXITCOMMAND_H
       
    26 
       
    27 #include "commandengine.h"
       
    28 
       
    29 NONSHARABLE_CLASS(CExitCommand) : public CNcmCommandBase
       
    30 /**
       
    31 Quit from the main console
       
    32 */
       
    33 	{
       
    34 public:
       
    35 	static CExitCommand* NewL(CUsbNcmConsole& aUsb, TUint aKey);
       
    36 	~CExitCommand();
       
    37 
       
    38 public:
       
    39 	//From CNcmCommandBase
       
    40 	void DoCommandL();
       
    41 
       
    42 private:
       
    43 	CExitCommand(CUsbNcmConsole& aUsb, TUint aKey);
       
    44 	void ConstructL();
       
    45 
       
    46 private:
       
    47 		
       
    48 	};
       
    49 
       
    50 #endif // EXITCOMMAND_H