equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005 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: Reads the VAS resource file and keeps the information in |
|
15 * member variables for later use. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef NSSVASCRESOURCEHANDLER_H |
|
21 #define NSSVASCRESOURCEHANDLER_H |
|
22 |
|
23 #include <e32base.h> |
|
24 |
|
25 // CLASS DECLARATION |
|
26 |
|
27 /** |
|
28 * This class encapsulates resource file handling functions |
|
29 * |
|
30 * @lib NssVASApi.lib |
|
31 * @since 2.8 |
|
32 */ |
|
33 NONSHARABLE_CLASS( CNssVasResourceHandler ) : public CBase |
|
34 { |
|
35 public: // Constructors and destructor |
|
36 |
|
37 /** |
|
38 * Two-phased constructor. |
|
39 */ |
|
40 static CNssVasResourceHandler* NewL(); |
|
41 |
|
42 /** |
|
43 * Destructor. |
|
44 */ |
|
45 virtual ~CNssVasResourceHandler(); |
|
46 |
|
47 private: |
|
48 |
|
49 /** |
|
50 * C++ default constructor. |
|
51 */ |
|
52 CNssVasResourceHandler(); |
|
53 |
|
54 /** |
|
55 * By default Symbian 2nd phase constructor is private. |
|
56 */ |
|
57 void ConstructL(); |
|
58 |
|
59 /** |
|
60 * Reads the data from the resource file. |
|
61 */ |
|
62 void ReadResourceFileL(); |
|
63 |
|
64 public: // Data |
|
65 |
|
66 // Path of the database |
|
67 HBufC* iDatabasePath; |
|
68 |
|
69 // Database filename |
|
70 HBufC* iDatabaseName; |
|
71 }; |
|
72 |
|
73 #endif // NSSVASCRESOURCEHANDLER_H |
|
74 |
|
75 // End of File |