equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-2006 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: AiFw stub |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef _AIFW_STUB_H |
|
20 #define _AIFW_STUB_H |
|
21 |
|
22 // System includes |
|
23 #include <e32base.h> |
|
24 |
|
25 // User includes |
|
26 |
|
27 // Forward declarations |
|
28 class CRepository; |
|
29 |
|
30 // Class declaration |
|
31 /** |
|
32 * @ingroup group_aifw |
|
33 * |
|
34 * AiFw stub. |
|
35 */ |
|
36 NONSHARABLE_CLASS( CAiFw ) : public CBase |
|
37 { |
|
38 public: |
|
39 // constructors and destructor |
|
40 |
|
41 /** |
|
42 * Leaving constructor |
|
43 */ |
|
44 static CAiFw* NewL(); |
|
45 |
|
46 /** |
|
47 * Leaving constructor |
|
48 */ |
|
49 static CAiFw* NewLC(); |
|
50 |
|
51 /** |
|
52 * Destructor |
|
53 */ |
|
54 ~CAiFw(); |
|
55 |
|
56 private: |
|
57 // constructors |
|
58 |
|
59 /** |
|
60 * Default C++ constructor |
|
61 */ |
|
62 CAiFw(); |
|
63 |
|
64 /** |
|
65 * 2nd phase constructor |
|
66 */ |
|
67 void ConstructL(); |
|
68 |
|
69 public: |
|
70 // new functions |
|
71 |
|
72 /** |
|
73 * Get repository |
|
74 * |
|
75 * @since S60 5.2 |
|
76 * @return Repositury |
|
77 */ |
|
78 CRepository& Repository() const; |
|
79 |
|
80 private: |
|
81 // data |
|
82 |
|
83 /** Idle repository, Owned. */ |
|
84 CRepository* iRepository; |
|
85 }; |
|
86 |
|
87 #endif // _AIFW_STUB_H |
|
88 |