equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 1997-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
26 #include <usb.h> |
26 #include <usb.h> |
27 #include "transfersession.h" |
27 #include "transfersession.h" |
28 #include "transferserver.h" |
28 #include "transferserver.h" |
29 #include "transfersrv.h" |
29 #include "transfersrv.h" |
30 #include "tranhandlesrv.h" |
30 #include "tranhandlesrv.h" |
31 |
31 #include "OstTraceDefinitions.h" |
|
32 #ifdef OST_TRACE_COMPILER_IN_USE |
|
33 #include "transfersessionTraces.h" |
|
34 #endif |
32 |
35 |
33 |
36 |
34 CTransferSession* CTransferSession::NewL(CTransferServer* aServer) |
37 CTransferSession* CTransferSession::NewL(CTransferServer* aServer) |
35 { |
38 { |
36 return (new (ELeave) CTransferSession(aServer)); |
39 return (new (ELeave) CTransferSession(aServer)); |
45 |
48 |
46 |
49 |
47 CTransferSession::~CTransferSession() |
50 CTransferSession::~CTransferSession() |
48 { |
51 { |
49 TUSB_PRINT("CTransferSession::~CTransferSession"); |
52 TUSB_PRINT("CTransferSession::~CTransferSession"); |
|
53 OstTrace0(TRACE_NORMAL, CTRANSFERSESSION_DCTRANSFERSESSION, "CTransferSession::~CTransferSession"); |
50 iTransferServer->DecrementSessionCount(); |
54 iTransferServer->DecrementSessionCount(); |
51 TUSB_PRINT("<<CTransferSession::~CTransferSession"); |
55 TUSB_PRINT("<<CTransferSession::~CTransferSession"); |
|
56 OstTrace0(TRACE_NORMAL, CTRANSFERSESSION_DCTRANSFERSESSION_DUP01, "<<CTransferSession::~CTransferSession"); |
52 } |
57 } |
53 |
58 |
54 |
59 |
55 void CTransferSession::ServiceL(const RMessage2& aMessage) |
60 void CTransferSession::ServiceL(const RMessage2& aMessage) |
56 { |
61 { |