terminalsecurity/SCP/DmEventNotifier/inc/DmEventNotifierCommon.h
changeset 0 b497e44ab2fc
equal deleted inserted replaced
-1:000000000000 0:b497e44ab2fc
       
     1 /*
       
     2 * Copyright (c) 2009 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: This header contains all the common constants that are used by the application.
       
    15 *
       
    16 */
       
    17 #ifndef __DMEVENTNOTIFIERCOMMON_H__
       
    18 #define __DMEVENTNOTIFIERCOMMON_H__
       
    19 
       
    20 //UID3 of this executable
       
    21 #define KAppUidDmEventNotifier 0x20026F5E
       
    22 
       
    23 // Definition for various states of the handler
       
    24 enum TScheduleHandlerState
       
    25     {
       
    26     EHandlerNotRegistered = 0,//Schedule handler not registered to Symbian scheduler
       
    27     EHandlerRegistered,       //Schedule handler registered to Symbian scheduler
       
    28     EHandlerNeedRegister      //To register the handler after the ongoing operation is complete
       
    29     };
       
    30 
       
    31 // Definition of Service Ids. Must not exceed KMaxServices numbers
       
    32 enum THandlerServiceId
       
    33     {
       
    34     ESoftwareService = 0,  //Software application service. Begin with 0 always. 
       
    35     EJavaService = 1,      //Java application service
       
    36     EMmcService = 2      //MMC card service
       
    37     };
       
    38 
       
    39 // Definiton of event operations
       
    40 enum THandlerOperation
       
    41     {
       
    42     ENoOpn = 200,             //No operation
       
    43     EOpnInstall = 201,        //used by ESwAppService & EJavaAppService services
       
    44     EOpnUninstall = 202,      //used by ESwAppService & EJavaAppService services
       
    45     EOpnRestore = 203,        //used by ESwAppService & EJavaAppService services
       
    46     EOpnInserted = 204,       //used by EMmcService
       
    47     EOpnRemoved = 205,        //used by EMmcService
       
    48     EOpnUnknown = 206         //unknown operation
       
    49     };
       
    50 
       
    51 #endif /* __DMEVENTNOTIFIERCOMMON_H__ */
       
    52 // End of File