equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008-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 the License "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 * |
|
16 */ |
|
17 |
|
18 |
|
19 /** |
|
20 @file |
|
21 @internalComponent |
|
22 @released |
|
23 */ |
|
24 |
|
25 #ifndef SCRHELPERCLIENT_H |
|
26 #define SCRHELPERCLIENT_H |
|
27 |
|
28 #include <e32std.h> |
|
29 #include <e32cmn.h> |
|
30 #include <f32file.h> |
|
31 #include <scs/scsclient.h> |
|
32 #include "scrhelpercommon.h" |
|
33 |
|
34 namespace Usif |
|
35 { |
|
36 |
|
37 class RScrHelper : public RScsClientBase |
|
38 { |
|
39 public: |
|
40 /** |
|
41 Default constructor of SCR helper session. |
|
42 */ |
|
43 IMPORT_C RScrHelper(); |
|
44 |
|
45 /** |
|
46 Opens a connection to the SCR Helper server. |
|
47 @return KErrNone, if the connection is successful. Otherwise, a system-wide error code. |
|
48 */ |
|
49 IMPORT_C TInt Connect(); |
|
50 |
|
51 /** |
|
52 Closes the connection with the SCR Helper server. |
|
53 */ |
|
54 IMPORT_C void Close(); |
|
55 |
|
56 IMPORT_C void RetrieveFileHandlesL(RFile& aScrDatabase, RFile& aScrJournal); |
|
57 |
|
58 private: |
|
59 void GetFileHandleL(Usif::TScrHelperServerMessages aFunction, RFile& aFile); |
|
60 }; |
|
61 |
|
62 } // namespace Usif |
|
63 |
|
64 #endif /* SCRHELPERCLIENT_H */ |