|
1 /* |
|
2 * Copyright (c) 2002 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: Stubs for phoneclientserver classes |
|
15 * |
|
16 */ |
|
17 |
|
18 // INCLUDES |
|
19 #include "rphcltserver.h" |
|
20 #include "cphsrvresourcemanager.h" |
|
21 |
|
22 // --------------------------------------------------------------------- |
|
23 // Stub for RPhCltServer |
|
24 // --------------------------------------------------------------------- |
|
25 |
|
26 RPhCltServer::RPhCltServer() |
|
27 { |
|
28 } |
|
29 |
|
30 RPhCltServer::RPhCltServer( const RPhCltServer& ) |
|
31 { |
|
32 } |
|
33 |
|
34 TVersion RPhCltServer::Version() const |
|
35 { |
|
36 return TVersion(0,0,0); |
|
37 } |
|
38 |
|
39 TInt RPhCltServer::Connect( TInt ) |
|
40 { |
|
41 return KErrNone; |
|
42 } |
|
43 |
|
44 void RPhCltServer::CreateAll( TRequestStatus& ) |
|
45 { |
|
46 } |
|
47 |
|
48 void RPhCltServer::Panic( TPhCltPanicTypes /*aPanic*/ ) |
|
49 { |
|
50 } |
|
51 |
|
52 TInt RPhCltServer::StartServer() |
|
53 { |
|
54 return KErrNone; |
|
55 } |
|
56 |
|
57 |
|
58 RPhCltServer& RPhCltServer::operator= ( const RPhCltServer& ) |
|
59 { |
|
60 return *this; |
|
61 } |
|
62 |
|
63 // --------------------------------------------------------------------- |
|
64 // Stub for CPhSrvResourceManager |
|
65 // --------------------------------------------------------------------- |
|
66 |
|
67 CPhSrvResourceManager::CPhSrvResourceManager( RFs& aFsSession ) |
|
68 :iFsSession(aFsSession) |
|
69 { |
|
70 } |
|
71 |
|
72 CPhSrvResourceManager::~CPhSrvResourceManager() |
|
73 { |
|
74 } |
|
75 |
|
76 void CPhSrvResourceManager::ConstructL() |
|
77 { |
|
78 } |
|
79 |
|
80 HBufC* CPhSrvResourceManager::ReadResourceLC( TUint /*aResourceId*/ ) |
|
81 { |
|
82 HBufC* buffer = HBufC::NewLC(32); |
|
83 buffer->Des().Copy(_L("Hello!")); |
|
84 return buffer; |
|
85 } |
|
86 |