|
1 /* |
|
2 * Copyright (c) 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 //#include "musresourcefinderutil.h" |
|
19 #include <apgtask.h> |
|
20 #include <aknglobalnote.h> |
|
21 |
|
22 /* |
|
23 HBufC* MusResourceFinderUtil::ResourcePathL( const TDesC& aFileName ) |
|
24 { |
|
25 return aFileName.AllocL(); |
|
26 } |
|
27 */ |
|
28 |
|
29 const TUid uid = |
|
30 { |
|
31 0x1234 |
|
32 }; |
|
33 |
|
34 |
|
35 CAknNotifyBase::CAknNotifyBase( TUid ) |
|
36 { |
|
37 |
|
38 } |
|
39 |
|
40 void CAknNotifyBase::SetSecondaryDisplayData(CAknSDData* /*aData*/) |
|
41 { |
|
42 |
|
43 } |
|
44 |
|
45 CAknNotifyBase::~CAknNotifyBase() |
|
46 { |
|
47 |
|
48 } |
|
49 |
|
50 |
|
51 |
|
52 void CAknNotifyBase::ConstructL() |
|
53 { |
|
54 |
|
55 } |
|
56 |
|
57 CAknGlobalNote::CAknGlobalNote() |
|
58 : CAknNotifyBase( uid ) |
|
59 { |
|
60 |
|
61 } |
|
62 |
|
63 /** |
|
64 * Two-phased constructor. |
|
65 * @return Pointer to new global note object. |
|
66 */ |
|
67 CAknGlobalNote* CAknGlobalNote::NewL() |
|
68 { |
|
69 return new( ELeave ) CAknGlobalNote(); |
|
70 } |
|
71 |
|
72 /** |
|
73 * Two-phased constructor. |
|
74 * @return Pointer to new global note object. |
|
75 */ |
|
76 CAknGlobalNote* CAknGlobalNote::NewLC() |
|
77 { |
|
78 CAknGlobalNote* note = new( ELeave ) CAknGlobalNote(); |
|
79 CleanupStack::PushL( note ); |
|
80 return note; |
|
81 } |
|
82 |
|
83 /** |
|
84 * Destructor. |
|
85 */ |
|
86 CAknGlobalNote::~CAknGlobalNote() |
|
87 { |
|
88 |
|
89 } |
|
90 |
|
91 /** |
|
92 * Enable or disable all text processing done by the dialog. |
|
93 * This includes text wrapping, text truncation |
|
94 * and reordering of bidirectional text. |
|
95 * |
|
96 * By default, it is enabled. |
|
97 * |
|
98 * If text processing is disabled, lines are broken only at explicit line |
|
99 * end characters and they are not truncated, but drawn as long as they |
|
100 * fit. Also, the dialog does not handle reordering of bidirectional text. |
|
101 * |
|
102 * @since Series 60 2.0 |
|
103 * @param aEnabled Enable or disable all text processing. |
|
104 */ |
|
105 void CAknGlobalNote::SetTextProcessing(TBool /*aEnabled*/) |
|
106 { |
|
107 |
|
108 } |
|
109 |
|
110 /** |
|
111 * Displays the global note. |
|
112 * @param aType Note type. |
|
113 * @param aNoteText Note text. |
|
114 * @return Note ID. |
|
115 */ |
|
116 TInt CAknGlobalNote::ShowNoteL( TAknGlobalNoteType /*aType*/, |
|
117 const TDesC& /*aNoteText*/) |
|
118 { |
|
119 return KErrNone; |
|
120 |
|
121 } |
|
122 |
|
123 /** |
|
124 * Displays the global note. |
|
125 * @param aStatus Reference to request status. |
|
126 * @param aType Note type. |
|
127 * @param aNoteText Note text. |
|
128 * @return Note ID. |
|
129 */ |
|
130 TInt CAknGlobalNote::ShowNoteL(TRequestStatus& aStatus, |
|
131 TAknGlobalNoteType /*aType*/, |
|
132 const TDesC& /*aNoteText*/) |
|
133 { |
|
134 TRequestStatus* stat = &aStatus; |
|
135 User::RequestComplete( stat, KErrNone ); |
|
136 return KErrNone; |
|
137 } |
|
138 |
|
139 /** |
|
140 * Cancels the global note. |
|
141 * @param aNoteId Note ID. |
|
142 */ |
|
143 void CAknGlobalNote::CancelNoteL(TInt /*aNoteId*/) |
|
144 { |
|
145 |
|
146 } |
|
147 |
|
148 |
|
149 EXPORT_C MWsClientClass::MWsClientClass() |
|
150 { |
|
151 |
|
152 } |
|
153 |
|
154 EXPORT_C RWsSession::RWsSession() |
|
155 { |
|
156 |
|
157 } |
|
158 |
|
159 EXPORT_C TInt RWsSession::Connect() |
|
160 { |
|
161 return KErrNone; |
|
162 } |
|
163 |
|
164 |
|
165 EXPORT_C void RWsSession::Close() |
|
166 { |
|
167 |
|
168 } |
|
169 |
|
170 |
|
171 |
|
172 |
|
173 |
|
174 |
|
175 |
|
176 |
|
177 |