|
1 /* |
|
2 * Copyright (c) 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 * CDdcPortAccessImpl class implementation. |
|
16 * |
|
17 */ |
|
18 |
|
19 // USER INCLUDES |
|
20 #include "ddc_accessimpl.h" |
|
21 |
|
22 // ======== MEMBER FUNCTIONS ======== |
|
23 |
|
24 // --------------------------------------------------------------------------- |
|
25 // C++ constructor. |
|
26 // --------------------------------------------------------------------------- |
|
27 // |
|
28 CDdcPortAccessImpl::CDdcPortAccessImpl() |
|
29 { |
|
30 |
|
31 } |
|
32 |
|
33 // --------------------------------------------------------------------------- |
|
34 // Symbian 2nd phase constructor. |
|
35 // --------------------------------------------------------------------------- |
|
36 // |
|
37 void CDdcPortAccessImpl::ConstructL() |
|
38 { |
|
39 |
|
40 } |
|
41 |
|
42 // --------------------------------------------------------------------------- |
|
43 // Symbian two phased constructor. |
|
44 // --------------------------------------------------------------------------- |
|
45 // |
|
46 CDdcPortAccessImpl* CDdcPortAccessImpl::NewL() |
|
47 { |
|
48 CDdcPortAccessImpl* self = CDdcPortAccessImpl::NewLC(); |
|
49 CleanupStack::Pop( self ); |
|
50 return self; |
|
51 } |
|
52 |
|
53 // --------------------------------------------------------------------------- |
|
54 // Symbian two phased constructor. |
|
55 // Leaves pointer in the cleanup stack. |
|
56 // --------------------------------------------------------------------------- |
|
57 // |
|
58 CDdcPortAccessImpl* CDdcPortAccessImpl::NewLC() |
|
59 { |
|
60 CDdcPortAccessImpl* self = new ( ELeave ) CDdcPortAccessImpl; |
|
61 CleanupStack::PushL( self ); |
|
62 self->ConstructL(); |
|
63 return self; |
|
64 } |
|
65 |
|
66 // --------------------------------------------------------------------------- |
|
67 // C++ destructor. |
|
68 // --------------------------------------------------------------------------- |
|
69 // |
|
70 CDdcPortAccessImpl::~CDdcPortAccessImpl() |
|
71 { |
|
72 |
|
73 } |
|
74 |
|
75 //------------------------------------------------------------------------------ |
|
76 // CDdcPortAccessImpl::Read |
|
77 //------------------------------------------------------------------------------ |
|
78 // |
|
79 TInt CDdcPortAccessImpl::Read( TDdcPort /*aDdcPort*/, |
|
80 TUint /*aBlockNumber*/, |
|
81 TDataBlock& /*aDataBlock*/, |
|
82 TRequestStatus& aCompletedWhenRead ) |
|
83 { |
|
84 TRequestStatus* status = &aCompletedWhenRead; |
|
85 User::RequestComplete( status, KErrNotSupported ); |
|
86 return KErrNotSupported; |
|
87 } |
|
88 |
|
89 //------------------------------------------------------------------------------ |
|
90 // CDdcPortAccessImpl::CancelAll |
|
91 //------------------------------------------------------------------------------ |
|
92 // |
|
93 void CDdcPortAccessImpl::CancelAll() |
|
94 { |
|
95 // Nothing to do here. |
|
96 } |
|
97 |
|
98 // End of file |