equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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 #ifndef NOTIFICATIONS_H_ |
|
19 #define NOTIFICATIONS_H_ |
|
20 |
|
21 #include <hbmessagebox.h> |
|
22 #include <hbdeviceprogressdialog.h> |
|
23 |
|
24 |
|
25 |
|
26 class Notifications |
|
27 { |
|
28 public: |
|
29 |
|
30 /** |
|
31 * shows about box |
|
32 */ |
|
33 static void about(); |
|
34 |
|
35 /** |
|
36 * shows image captured note |
|
37 */ |
|
38 static void imageCaptured(); |
|
39 |
|
40 /** |
|
41 * shows video captured note |
|
42 */ |
|
43 static void videoCaptured(); |
|
44 |
|
45 /** |
|
46 * shows seguantial images captured note |
|
47 */ |
|
48 static void sequantialImagesCaptured(int amount); |
|
49 |
|
50 /** |
|
51 * shows error message |
|
52 */ |
|
53 static void error(const QString& errorMessage); |
|
54 |
|
55 /** |
|
56 * to shows progressbar |
|
57 */ |
|
58 static HbDeviceProgressDialog* showProgressBar(int max); |
|
59 |
|
60 private: |
|
61 |
|
62 /** |
|
63 * shows global HbGlobalCommonNote type note |
|
64 */ |
|
65 static void showGlobalNote(const QString& text, HbMessageBox::MessageBoxType type); |
|
66 |
|
67 }; |
|
68 |
|
69 |
|
70 |
|
71 #endif // NOTIFICATIONS_H_ |