omadm/omadmappui/inc/nsmldmsyncinternalpskeys.h
changeset 18 7d11f9a6646f
parent 4 75a71fdb4c92
child 21 c707676bf59f
equal deleted inserted replaced
4:75a71fdb4c92 18:7d11f9a6646f
     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:  Publish and subcribe keys published by device manager
       
    15 *                application.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef NSMLDMSYNCINTERNALPSKEYS_H
       
    21 #define NSMLDMSYNCINTERNALPSKEYS_H
       
    22 
       
    23 // CONSTANTS
       
    24 
       
    25 // Device manager key UID
       
    26 const TUid KPSUidNSmlDMSyncApp = {0x101f6de5};
       
    27 
       
    28 // Fota Server key UID
       
    29 const TUid KFotaServerAppUid = {0x102072C4};
       
    30 
       
    31 // PubSub key used to share information about the
       
    32 // initiator of the device management session.
       
    33 // Contains the identifier of a job that is
       
    34 // started from the UI. 
       
    35 const TUint32 KNSmlDMSyncUiInitiatedJobKey = 0x00000001;
       
    36 
       
    37 // PubSub key used to share information about the
       
    38 // type of the server alert for device management session.
       
    39 // Contains the identifier of server alert type
       
    40 // started from DM Server
       
    41 const TUint32 KServerAlertType = 0x00000004;	
       
    42 
       
    43 // Indicates that no user initiated sync jobs are in
       
    44 // progress.
       
    45 const TInt KNSmlDMNoUserInitiatedJob = -1;
       
    46 
       
    47 // PubSub key used to share information about the
       
    48 // launching of the device management application.
       
    49 // Contains the identifier of server alert or 
       
    50 // OmaDmCPPlugin
       
    51 const TUint32 KNSmlDMSyncUiLaunchKey = 0x00000002;
       
    52 
       
    53 //PubSub key used for putting Fota UI in Foreground or background
       
    54 //Sets only by FOTA & DM uses this key value
       
    55 const TUint32 KFotaDLStatus = 0x00000008;
       
    56 
       
    57 //PubSub key used for main view first listitem display
       
    58 //Sets by DM UI or FOTA
       
    59 const TUint32 KFotaDLRefresh = 0x00000009;
       
    60 
       
    61 
       
    62 //PubSub key used to mark which application is handling the process of download
       
    63 //Sets by DM UI, NSC or NSCBackground
       
    64 const TUint32 KNSmlCurrentFotaUpdateAppName = 0x0000000A;
       
    65 
       
    66 
       
    67 //PubSub key used to define should "Install Now?" query be shown or not
       
    68 //Sets by DM UI or NSC
       
    69 const TUint32 KDevManShowInstallNowQuery = 0x0000000B;
       
    70 
       
    71 //PubSub key used to store the status/error of current DM Job session
       
    72 //Sets by DM UI & used by FOTA in case of OMA DM large object download
       
    73 const TUint32  KDmJobCancel = 0x00000012; 
       
    74 
       
    75 //PubSub key used to store the status of whether the DM is busy or not 
       
    76 //Sets by DM UI & used by IAD or others
       
    77 const TUint32 KDMIdle = 0x0000000C; 
       
    78 const TUint32 KSilentSession = 0x0000000D;
       
    79 #endif // NSMLDMSYNCINTERNALPSKEYS_H
       
    80             
       
    81 // End of File