appinstall_plat/sifui_api/inc/sifuidefs.h
changeset 25 98b66e4fb0be
child 29 26b6f0522fd8
equal deleted inserted replaced
24:84a16765cd86 25:98b66e4fb0be
       
     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 CSifUi API and SW install
       
    15 *               notification dialog plugin.
       
    16 */
       
    17 
       
    18 #ifndef SIFUIDEFS_H
       
    19 #define SIFUIDEFS_H
       
    20 
       
    21 // SifUi plugin literal and variant map key names defined as _LIT macros.
       
    22 // Note that _LIT macros defined in this file must match to the definitions
       
    23 // in sifuidevicedialogdefinitions.h file. This header is used in Symbian
       
    24 // code since Symbian code requires 16-bit descriptors, and definitions in
       
    25 // Qt side (in sifuidevicedialogdefinitions.h) are 8-bit wide.
       
    26 
       
    27 _LIT( KSifUiDeviceDialog, "com.nokia.sifui/1.0" );
       
    28 
       
    29 enum TSifUiDeviceDialogType
       
    30     {
       
    31     ESifUiConfirmationQuery = 1,
       
    32     ESifUiProgressNote = 2,
       
    33     ESifUiCompleteNote = 3,
       
    34     ESifUiErrorNote = 4
       
    35     };
       
    36 
       
    37 // Variant map keys for dialog type and title (common to all dialog types)
       
    38 _LIT( KSifUiDialogType, "type" );                   // enum TSifUiDeviceDialogType
       
    39 _LIT( KSifUiDialogMode, "mode" );                   // enum TSifUiDeviceDialogMode
       
    40 
       
    41 // Variant map keys for device dialog return values
       
    42 _LIT( KSifUiQueryAccepted, "accept" );              // boolean
       
    43 _LIT( KSifUiSelectedMemoryIndex, "memi" );          // integer
       
    44 
       
    45 // Variant map keys for "confirmation query" dialog parameters
       
    46 _LIT( KSifUiApplicationName, "app" );               // descriptor
       
    47 _LIT( KSifUiApplicationIconHandle, "icon" );        // integer, bitmap handle
       
    48 _LIT( KSifUiApplicationIconMaskHandle, "mask" );    // integer, bitmap handle
       
    49 _LIT( KSifUiApplicationVersion, "ver" );            // descriptor
       
    50 _LIT( KSifUiApplicationSize, "size" );              // integer
       
    51 _LIT( KSifUiApplicationDetails, "details" );        // descriptor array
       
    52 _LIT( KSifUiMemorySelection, "mem" );               // boolean
       
    53 _LIT( KSifUiCertificates, "cert" );                 // boolean ???
       
    54 
       
    55 // Variant map keys for "progress note" dialog parameters
       
    56 _LIT( KSifUiProgressNoteText, "txt" );              // string
       
    57 _LIT( KSifUiProgressNoteFinalValue, "fin" );        // integer
       
    58 _LIT( KSifUiProgressNoteValue, "val" );             // integer
       
    59 
       
    60 // Variant map keys for "error" dialog parameters
       
    61 _LIT( KSifUiErrorCode, "err" );                     // integer
       
    62 
       
    63 #endif  // SIFUIDEFS_H
       
    64