1 /* |
|
2 * Copyright (c) 2002 - 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: sample file of Newfile server |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 #include "CDummyNewFileServiceBase.h" |
|
24 |
|
25 CDummyNewFileServiceBase::CDummyNewFileServiceBase():CNewFileServiceBase() |
|
26 { |
|
27 } |
|
28 CDummyNewFileServiceBase::~CDummyNewFileServiceBase() |
|
29 { |
|
30 } |
|
31 void CDummyNewFileServiceBase::HandleNewFileL( MNewFileServiceObserver* /*aObserver*/, |
|
32 CDesCArray& /*aFilenameArray*/, |
|
33 TNewServiceFileType /*aType*/, |
|
34 TBool /*aMultipleFiles*/ ) |
|
35 {} |
|
36 |
|
37 void CDummyNewFileServiceBase::HandleNewFileL( MNewFileServiceObserver* /*aObserver*/, |
|
38 RFile& /*aFile*/, |
|
39 TNewServiceFileType /*aType*/ ) |
|
40 {} |
|
41 |
|
42 void CDummyNewFileServiceBase::ServiceCompleteL() |
|
43 { |
|
44 GenericParams(); |
|
45 } |
|
46 CPolicyServer::TCustomResult CDummyNewFileServiceBase::SecurityCheckL(const RMessage2& /*aMsg*/, TInt& /*aAction*/, TSecurityInfo& /*aMissing*/) |
|
47 {return CPolicyServer::EPass;} |
|
48 TInt CDummyNewFileServiceBase::CountResources() |
|
49 {return 0;} |
|
50 void CDummyNewFileServiceBase::Disconnect(const RMessage2& /*aMessage*/) |
|
51 {} |
|
52 void CDummyNewFileServiceBase::ExtensionInterface(TUid /*aInterfaceId*/, TAny*& /*aImplementaion*/) |
|
53 {} |
|
54 void CDummyNewFileServiceBase::CApaAppServiceBase_Reserved1() |
|
55 {} |
|
56 void CDummyNewFileServiceBase::CApaAppServiceBase_Reserved2() |
|
57 {} |
|
58 |
|
59 void CDummyNewFileServiceBase::ServiceLtest(const RMessage2& aMessage) |
|
60 { |
|
61 ServiceL( aMessage ); |
|
62 } |
|
63 |
|
64 void CDummyNewFileServiceBase::HandleCompletedNewServiceLtest(TBool aBool) |
|
65 { |
|
66 HandleCompletedNewServiceL( aBool); |
|
67 } |
|
68 |
|
69 CAiwGenericParamList* CDummyNewFileServiceBase::GenericParamstest() |
|
70 { |
|
71 return GenericParams(); |
|
72 } |
|
73 |
|