usbmgmt/usbmgr/device/classdrivers/ncm/classimplementation/ncmpktdrv/server/inc/ncmsession.h
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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 NCMSESSION_H |
|
24 #define NCMSESSION_H |
|
25 |
|
26 #include <e32base.h> |
|
27 |
|
28 |
|
29 class CNcmEngine; |
|
30 |
|
31 NONSHARABLE_CLASS(CNcmSession) : public CSession2 |
|
32 { |
|
33 public: |
|
34 static CNcmSession* NewL(CNcmEngine& aEngine); |
|
35 ~CNcmSession(); |
|
36 |
|
37 private: |
|
38 CNcmSession(CNcmEngine& aEngine); |
|
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: |
|
48 // unowned |
|
49 CNcmEngine& iNcmEngine; |
|
50 }; |
|
51 |
|
52 #endif // NCMSESSION_H |