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: Blid application note class definition |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef BLIDNOTES_H |
|
20 #define BLIDNOTES_H |
|
21 |
|
22 // CLASS DECLARATION |
|
23 class CEikonEnv; |
|
24 /** |
|
25 * BlidNotes application class. |
|
26 */ |
|
27 class BlidNotes |
|
28 { |
|
29 public: |
|
30 /** |
|
31 * Enumerations for model creation |
|
32 */ |
|
33 enum TBlidNotes |
|
34 { |
|
35 EBlidOverWriteWaypointNote, |
|
36 EBlidGPSConnectionNotAccurate |
|
37 }; |
|
38 public: // new functions |
|
39 /** |
|
40 * Notify user that when user is saving a waypoint |
|
41 * and all waypoint slots are used. |
|
42 */ |
|
43 static void OverWriteWaypointNoteL(); |
|
44 |
|
45 /** |
|
46 * Notify user if GPS device is not sending proper data |
|
47 * i.e. when less than 3 satellites in view. |
|
48 */ |
|
49 static void PoorGPSDataNoteL(); |
|
50 |
|
51 /** |
|
52 * Notifies user that no PSY has been enabled |
|
53 * |
|
54 */ |
|
55 static void NoPsyConnectedNoteL(); |
|
56 |
|
57 /** |
|
58 * Notifies user that GPS data is being searched and |
|
59 * located |
|
60 * |
|
61 */ |
|
62 static void SearchingGPSDDataNoteL(); |
|
63 |
|
64 /** |
|
65 * Notifies user that GPS data is being searched and |
|
66 * located |
|
67 */ |
|
68 static void GPSDataAvailableL(); |
|
69 |
|
70 /** |
|
71 * Notifies user that GPS data is being searched and |
|
72 * located |
|
73 */ |
|
74 static void GPSDeviceUnavailableNoteL(); |
|
75 |
|
76 /** |
|
77 * Notifies user that the landmark set as destination |
|
78 * is empty and does not have coordinate data |
|
79 * |
|
80 */ |
|
81 static void EmptyLandmarkNoteL(const TDesC& landmarkName); |
|
82 |
|
83 /** |
|
84 * Notifies user that the system is out of memory |
|
85 * |
|
86 */ |
|
87 static void OutOfMemoryNoteL(); |
|
88 |
|
89 /** |
|
90 * Displays the "No GPS data" note |
|
91 * |
|
92 */ |
|
93 static void NoGPSDeviceL(); |
|
94 |
|
95 public: //Data |
|
96 /* |
|
97 Boolean to check if the GPSDataAvailableL has |
|
98 already been displayed. |
|
99 */ |
|
100 static TBool iNoteDisplayed; |
|
101 |
|
102 /** |
|
103 * Boolean to check if the GPS unavailable note is |
|
104 * displayed or not |
|
105 */ |
|
106 static TBool iGPSUnavailableDisplayed; |
|
107 |
|
108 //environment variable |
|
109 static CEikonEnv* iEnv; |
|
110 |
|
111 }; |
|
112 |
|
113 #endif // BLIDNOTES_H |
|
114 |
|
115 // End of File |
|