appinstall_plat/sifui_api/inc/sifuiinstallindicatordefinitions.h
author hgs
Fri, 06 Aug 2010 10:59:22 +0300
changeset 58 67f2119dc623
permissions -rw-r--r--
201031_01
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
58
67f2119dc623 201031_01
hgs
parents:
diff changeset
     1
/*
67f2119dc623 201031_01
hgs
parents:
diff changeset
     2
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
67f2119dc623 201031_01
hgs
parents:
diff changeset
     3
* All rights reserved.
67f2119dc623 201031_01
hgs
parents:
diff changeset
     4
* This component and the accompanying materials are made available
67f2119dc623 201031_01
hgs
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
67f2119dc623 201031_01
hgs
parents:
diff changeset
     6
* which accompanies this distribution, and is available
67f2119dc623 201031_01
hgs
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
67f2119dc623 201031_01
hgs
parents:
diff changeset
     8
*
67f2119dc623 201031_01
hgs
parents:
diff changeset
     9
* Initial Contributors:
67f2119dc623 201031_01
hgs
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
67f2119dc623 201031_01
hgs
parents:
diff changeset
    11
*
67f2119dc623 201031_01
hgs
parents:
diff changeset
    12
* Contributors:
67f2119dc623 201031_01
hgs
parents:
diff changeset
    13
*
67f2119dc623 201031_01
hgs
parents:
diff changeset
    14
* Description:  Variant map key names for SW install progress notifications
67f2119dc623 201031_01
hgs
parents:
diff changeset
    15
*               in status menu (universal indicator plugin).
67f2119dc623 201031_01
hgs
parents:
diff changeset
    16
*/
67f2119dc623 201031_01
hgs
parents:
diff changeset
    17
67f2119dc623 201031_01
hgs
parents:
diff changeset
    18
#ifndef SIFUIINSTALLINDICATORDEFINITIONS_H
67f2119dc623 201031_01
hgs
parents:
diff changeset
    19
#define SIFUIINSTALLINDICATORDEFINITIONS_H
67f2119dc623 201031_01
hgs
parents:
diff changeset
    20
67f2119dc623 201031_01
hgs
parents:
diff changeset
    21
// Indicator type string for CHbIndicatorSymbian::Activate():
67f2119dc623 201031_01
hgs
parents:
diff changeset
    22
_LIT( KSifUiInstallIndicatorType, "com.nokia.sifui.indi/1.0" );
67f2119dc623 201031_01
hgs
parents:
diff changeset
    23
67f2119dc623 201031_01
hgs
parents:
diff changeset
    24
// Parameter names for variant map:
67f2119dc623 201031_01
hgs
parents:
diff changeset
    25
_LIT( KSifUiInstallIndicatorAppName, "name" );      // string
67f2119dc623 201031_01
hgs
parents:
diff changeset
    26
_LIT( KSifUiInstallIndicatorPhase, "phase" );       // int CSifUi::TInstallingPhase
67f2119dc623 201031_01
hgs
parents:
diff changeset
    27
_LIT( KSifUiInstallIndicatorProgress, "prog" );     // int (0..100), shown as percentage
67f2119dc623 201031_01
hgs
parents:
diff changeset
    28
67f2119dc623 201031_01
hgs
parents:
diff changeset
    29
// CHbIndicatorSymbian::Activate() takes one CHbSymbianVariant parameter. Use
67f2119dc623 201031_01
hgs
parents:
diff changeset
    30
// CHbSymbianVariant::EVariantMap type and the above parameter names to pass
67f2119dc623 201031_01
hgs
parents:
diff changeset
    31
// application name, installing phase, and progress bar value to notification
67f2119dc623 201031_01
hgs
parents:
diff changeset
    32
// dialog. Usually it is necessary to pass all these details when opening the
67f2119dc623 201031_01
hgs
parents:
diff changeset
    33
// notification dialog. Later, notification dialog details can be updated by
67f2119dc623 201031_01
hgs
parents:
diff changeset
    34
// calling CHbIndicatorSymbian::Activate() again. If only application name
67f2119dc623 201031_01
hgs
parents:
diff changeset
    35
// should be updated, then also CHbSymbianVariant::EDes type can be used.
67f2119dc623 201031_01
hgs
parents:
diff changeset
    36
// And if only progress bar value should be updated, then also
67f2119dc623 201031_01
hgs
parents:
diff changeset
    37
// CHbSymbianVariant::EInt type can be used.
67f2119dc623 201031_01
hgs
parents:
diff changeset
    38
67f2119dc623 201031_01
hgs
parents:
diff changeset
    39
#endif  // SIFUIINSTALLINDICATORDEFINITIONS_H
67f2119dc623 201031_01
hgs
parents:
diff changeset
    40