|
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 #ifndef CDUMMYNEWFILESERVICEBASE_H_ |
|
24 #define CDUMMYNEWFILESERVICEBASE_H_ |
|
25 #include <CNewfileServiceBase.h> |
|
26 |
|
27 class CDummyNewFileServiceBase : public CNewFileServiceBase |
|
28 { |
|
29 public: // Constructors and destructor |
|
30 CDummyNewFileServiceBase(); |
|
31 ~CDummyNewFileServiceBase(); |
|
32 void HandleNewFileL( MNewFileServiceObserver* aObserver, |
|
33 CDesCArray& aFilenameArray, |
|
34 TNewServiceFileType aType, |
|
35 TBool aMultipleFiles ); |
|
36 CPolicyServer::TCustomResult SecurityCheckL(const RMessage2& aMsg, TInt& aAction, TSecurityInfo& aMissing); |
|
37 TInt CountResources(); |
|
38 void Disconnect(const RMessage2& aMessage); |
|
39 void ExtensionInterface(TUid aInterfaceId, TAny*& aImplementaion); |
|
40 void CApaAppServiceBase_Reserved1(); |
|
41 void CApaAppServiceBase_Reserved2(); |
|
42 void HandleNewFileL( MNewFileServiceObserver* aObserver, |
|
43 RFile& aFile, |
|
44 TNewServiceFileType aType ); |
|
45 void ServiceCompleteL(); |
|
46 void ServiceLtest(const RMessage2& aMessage); |
|
47 void HandleCompletedNewServiceLtest(TBool aBool); |
|
48 CAiwGenericParamList* GenericParamstest(); |
|
49 |
|
50 }; |
|
51 #endif /*CDUMMYNEWFILESERVICEBASE_H_*/ |