deviceupdatesui/deviceupdates/inc/nsmldmsyncinternalpskeys.h
author hgs
Fri, 15 Oct 2010 11:39:02 +0530
changeset 67 fdbfe0a95492
parent 33 7464c1e21dae
permissions -rw-r--r--
201041
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
33
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
     1
/*
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
     2
* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). 
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
     3
* All rights reserved.
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
     4
* This component and the accompanying materials are made available
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
     6
* which accompanies this distribution, and is available
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
     8
*
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
     9
* Initial Contributors:
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    11
*
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    12
* Contributors:
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    13
*
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    14
* Description:  Publish and subcribe keys published by device manager
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    15
*                application.
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    16
*
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    17
*/
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    18
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    19
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    20
#ifndef NSMLDMSYNCINTERNALPSKEYS_H
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    21
#define NSMLDMSYNCINTERNALPSKEYS_H
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    22
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    23
// CONSTANTS
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    24
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    25
// Device manager key UID
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    26
const TUid KPSUidNSmlDMSyncApp = {0x101f6de5};
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    27
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    28
// Fota Server key UID
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    29
const TUid KFotaServerAppUid = {0x102072C4};
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    30
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    31
// PubSub key used to share information about the
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    32
// initiator of the device management session.
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    33
// Contains the identifier of a job that is
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    34
// started from the UI. 
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    35
const TUint32 KNSmlDMSyncUiInitiatedJobKey = 0x00000001;
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    36
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    37
// PubSub key used to share information about the
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    38
// type of the server alert for device management session.
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    39
// Contains the identifier of server alert type
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    40
// started from DM Server
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    41
const TUint32 KServerAlertType = 0x00000004;	
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    42
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    43
// Indicates that no user initiated sync jobs are in
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    44
// progress.
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    45
const TInt KNSmlDMNoUserInitiatedJob = -1;
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    46
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    47
// PubSub key used to share information about the
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    48
// launching of the device management application.
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    49
// Contains the identifier of server alert or 
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    50
// OmaDmCPPlugin
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    51
const TUint32 KNSmlDMSyncUiLaunchKey = 0x00000002;
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    52
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    53
//PubSub key used for putting Fota UI in Foreground or background
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    54
//Sets only by FOTA & DM uses this key value
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    55
const TUint32 KFotaDLStatus = 0x00000008;
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    56
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    57
//PubSub key used for main view first listitem display
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    58
//Sets by DM UI or FOTA
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    59
const TUint32 KFotaDLRefresh = 0x00000009;
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    60
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    61
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    62
//PubSub key used to mark which application is handling the process of download
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    63
//Sets by DM UI, NSC or NSCBackground
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    64
const TUint32 KNSmlCurrentFotaUpdateAppName = 0x0000000A;
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    65
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    66
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    67
//PubSub key used to define should "Install Now?" query be shown or not
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    68
//Sets by DM UI or NSC
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    69
const TUint32 KDevManShowInstallNowQuery = 0x0000000B;
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    70
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    71
//PubSub key used to store the status/error of current DM Job session
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    72
//Sets by DM UI & used by FOTA in case of OMA DM large object download
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    73
const TUint32  KDmJobCancel = 0x00000012; 
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    74
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    75
//PubSub key used to store the status of whether the DM is busy or not 
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    76
//Sets by DM UI & used by IAD or others
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    77
const TUint32 KDMIdle = 0x0000000C; 
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    78
const TUint32 KSilentSession = 0x0000000D;
67
hgs
parents: 33
diff changeset
    79
hgs
parents: 33
diff changeset
    80
//PubSub key used to store the information regarding whether DM has been launched 
hgs
parents: 33
diff changeset
    81
// by Control panel or not
hgs
parents: 33
diff changeset
    82
const TUint32 KDMLaunched = 0x0000000E;
33
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    83
#endif // NSMLDMSYNCINTERNALPSKEYS_H
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    84
            
7464c1e21dae 201008_internal
hgs
parents:
diff changeset
    85
// End of File