|
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 * CDataTransferredRespMsg |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 |
|
22 /** |
|
23 @file |
|
24 @internalTechnology |
|
25 @prototype |
|
26 */ |
|
27 TRIVIAL_ACCESSOR(CDataTransferred, TUint, ReceivedBytes) |
|
28 TRIVIAL_ACCESSOR(CDataTransferred, TUint, SentBytes) |
|
29 |
|
30 /* |
|
31 CDataSentNotificationRespMsg |
|
32 */ |
|
33 TRIVIAL_ACCESSOR(CDataSent, TUint, SentBytes) |
|
34 |
|
35 /* |
|
36 CDataReceivedNotificationRespMsg |
|
37 */ |
|
38 TRIVIAL_ACCESSOR(CDataReceived, TUint, ReceivedBytes) |
|
39 |
|
40 |
|
41 CDataTransferred* CDataTransferred::NewL() |
|
42 { |
|
43 STypeId typeId = STypeId::CreateSTypeId(KDataMonitoringMessagesImplementationUid, EDataMonitoringMsgDataTransferred); |
|
44 return static_cast<CDataTransferred*>(CCommsApiExtRespMsg::NewL(typeId)); |
|
45 } |
|
46 |
|
47 CDataSent* CDataSent::NewL() |
|
48 { |
|
49 STypeId typeId = STypeId::CreateSTypeId(KDataMonitoringMessagesImplementationUid, EDataMonitoringMsgDataSentNotification); |
|
50 return static_cast<CDataSent*>(CCommsApiExtRespMsg::NewL(typeId)); |
|
51 } |
|
52 |
|
53 CDataReceived* CDataReceived::NewL() |
|
54 { |
|
55 STypeId typeId = STypeId::CreateSTypeId(KDataMonitoringMessagesImplementationUid, EDataMonitoringMsgDataReceivedNotification); |
|
56 return static_cast<CDataReceived*>(CCommsApiExtRespMsg::NewL(typeId)); |
|
57 } |
|
58 |