servicewidget/inc/servicewidgetenums.hrh
changeset 0 5e5d6b214f4f
equal deleted inserted replaced
-1:000000000000 0:5e5d6b214f4f
       
     1 /*
       
     2 * Copyright (c) 2008 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:  class presence cache handler class implementation
       
    15  *
       
    16 */
       
    17 
       
    18  
       
    19 #ifndef SERVICEWIDGETENUMS_HRH
       
    20 #define SERVICEWIDGETENUMS_HRH
       
    21 
       
    22 /**
       
    23 * do not modify the below order
       
    24 */
       
    25 /**
       
    26  * @class presence cache handler class implementation
       
    27  * @since 5.0
       
    28  */
       
    29 enum TWSPresenceStatus
       
    30     {
       
    31 	EWSUnknown = -1, // add new enums below this
       
    32     EWSOnline = 0,
       
    33     EWSAway, // 1
       
    34     EWSbusy, // 2
       
    35     EWSDoNotDisturb, // 3
       
    36     EWSOffline, // 4
       
    37     EWSOnPhone,//5
       
    38     EWSBlocked, //6
       
    39     EWSNewMessage ,//7
       
    40     EWSServiceIcon, //8
       
    41     EWSInvisible, //9
       
    42     EWSLast = 10  // add new enums above this
       
    43     
       
    44     };
       
    45 
       
    46 /**
       
    47  * @operation id 
       
    48  * @since 5.0
       
    49  */ 
       
    50  enum TWServiceOperationId
       
    51 	{
       
    52 	EWSOperationUnknown = -1,
       
    53 	EWSOperationBind,
       
    54 	EWSOperationUnbind,
       
    55 	EWSOperationFetching,
       
    56 	EWSOperationGrandList,
       
    57 	EWSOperationComplete
       
    58 	}; 
       
    59 
       
    60 	
       
    61 /**
       
    62 * A enum
       
    63 * Registration states to control views
       
    64 */
       
    65 enum TSWSTRegistrationState
       
    66 	{
       
    67 	ESWSNotRegistered = 0,/* Service Not registered*/
       
    68 	ESWSRegistered = 0x8, /* Service registered */
       
    69 	ESWSNetworkConnecting = 0x4, /* service connecting */		    
       
    70 	ESWSWaitingForNetwork = 0x2, /* service waiting for connection*/
       
    71 	ESWSNetworkDisConnecting = 0x1, /* service disconnecting */
       
    72 	ESWSUpdatingContacts = 0x10
       
    73 	};
       
    74 
       
    75 /*
       
    76 * enum for appview launch
       
    77 */
       
    78 enum TSWAExecuteOperation
       
    79     {
       
    80     ESWAUnknown = -1,
       
    81     ESWALaunchServiceTab  ,
       
    82     ESWALaunchConverView,
       
    83     ESWALaunchSTAutoLogin,
       
    84     ESWAStartLogin
       
    85     };
       
    86     
       
    87 #endif  // SERVICEWIDGETENUMS_HRH
       
    88 
       
    89 
       
    90 // End of File