|
1 /* |
|
2 * Copyright (c) 2007 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: Client header file |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef INTEGRITYCHECKCLIENT_H |
|
20 #define INTEGRITYCHECKCLIENT_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32std.h> |
|
24 #include <e32base.h> |
|
25 #include <f32file.h> |
|
26 |
|
27 // CONSTANTS |
|
28 |
|
29 const TUid KBTICServerUid3 = { 0x101FB661 }; |
|
30 _LIT( KBTICServer,"IntegrityCheckServer" ); |
|
31 _LIT( KBTICServerName,"!IntegrityCheckServer" ); |
|
32 |
|
33 // MACROS |
|
34 |
|
35 // DATA TYPES |
|
36 |
|
37 // FUNCTION PROTOTYPES |
|
38 |
|
39 // FORWARD DECLARATIONS |
|
40 |
|
41 // LOCAL FUNCTION PROTOTYPES |
|
42 |
|
43 // CLASS DECLARATION |
|
44 |
|
45 /** |
|
46 * RIntegrityCheckClient class |
|
47 * Client for Integrity Check server. |
|
48 * |
|
49 * @lib |
|
50 * @since 3.1 |
|
51 */ |
|
52 class RIntegrityCheckClient : public RSessionBase |
|
53 { |
|
54 public: |
|
55 |
|
56 /** |
|
57 * Connects Integrity Check Server |
|
58 * @return |
|
59 **/ |
|
60 IMPORT_C TInt Connect(); |
|
61 |
|
62 /** |
|
63 * Closes session to server |
|
64 **/ |
|
65 IMPORT_C void Close(); |
|
66 |
|
67 /** |
|
68 * Get sw boot reason from system. |
|
69 * @param aBootReason |
|
70 * @return System wide error code. |
|
71 **/ |
|
72 //IMPORT_C TInt GetSWBootReason( TDes& aBootReason ); |
|
73 IMPORT_C TInt GetSWBootReason( TInt& aBootReason ); |
|
74 |
|
75 }; |
|
76 |
|
77 #endif // INTEGRITYCHECKCLIENT_H |
|
78 |
|
79 //EOF |