usbmgmt/usbmgr/device/classdrivers/acm/classimplementation/ecacm/inc/acmsession.h
changeset 0 c9bc50fca66e
equal deleted inserted replaced
-1:000000000000 0:c9bc50fca66e
       
     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  @file
       
    20  @internalComponent
       
    21 */
       
    22 
       
    23 #ifndef ACMSESSION_H
       
    24 #define ACMSESSION_H
       
    25 
       
    26 #include <e32base.h>
       
    27 
       
    28 class MAcmController;
       
    29 
       
    30 NONSHARABLE_CLASS(CAcmSession) : public CSession2
       
    31 	{
       
    32 public:
       
    33 	static CAcmSession* NewL(MAcmController& aAcmController);
       
    34 	~CAcmSession();
       
    35 
       
    36 private:
       
    37 	CAcmSession(MAcmController& aAcmController);
       
    38 	void CreateFunctionsL(const RMessage2& aMessage);
       
    39 		
       
    40 private: // from CSession2
       
    41 	/**
       
    42 	Called when a message is received from the client.
       
    43 	@param aMessage Message received from the client.
       
    44 	*/
       
    45 	void ServiceL(const RMessage2& aMessage);
       
    46 
       
    47 private: // unowned
       
    48 	MAcmController& iAcmController;
       
    49 	};
       
    50 
       
    51 #endif // ACMSESSION_H