58
|
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: Variant map key names for SW install progress notifications
|
|
15 |
* in status menu (universal indicator plugin).
|
|
16 |
*/
|
|
17 |
|
|
18 |
#ifndef SIFUIINSTALLINDICATORDEFINITIONS_H
|
|
19 |
#define SIFUIINSTALLINDICATORDEFINITIONS_H
|
|
20 |
|
|
21 |
// Indicator type string for CHbIndicatorSymbian::Activate():
|
|
22 |
_LIT( KSifUiInstallIndicatorType, "com.nokia.sifui.indi/1.0" );
|
|
23 |
|
|
24 |
// Parameter names for variant map:
|
|
25 |
_LIT( KSifUiInstallIndicatorAppName, "name" ); // string
|
|
26 |
_LIT( KSifUiInstallIndicatorPhase, "phase" ); // int CSifUi::TInstallingPhase
|
|
27 |
_LIT( KSifUiInstallIndicatorProgress, "prog" ); // int (0..100), shown as percentage
|
|
28 |
|
|
29 |
// CHbIndicatorSymbian::Activate() takes one CHbSymbianVariant parameter. Use
|
|
30 |
// CHbSymbianVariant::EVariantMap type and the above parameter names to pass
|
|
31 |
// application name, installing phase, and progress bar value to notification
|
|
32 |
// dialog. Usually it is necessary to pass all these details when opening the
|
|
33 |
// notification dialog. Later, notification dialog details can be updated by
|
|
34 |
// calling CHbIndicatorSymbian::Activate() again. If only application name
|
|
35 |
// should be updated, then also CHbSymbianVariant::EDes type can be used.
|
|
36 |
// And if only progress bar value should be updated, then also
|
|
37 |
// CHbSymbianVariant::EInt type can be used.
|
|
38 |
|
|
39 |
#endif // SIFUIINSTALLINDICATORDEFINITIONS_H
|
|
40 |
|