inc/impspresence.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2002 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: 
       
    15 *     Presence list and subscription list objects for public WV Engine
       
    16 *     Presence API.
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 
       
    22 #ifndef CImpsPresenceList_H
       
    23 #define CImpsPresenceList_H
       
    24 
       
    25 //  INCLUDES
       
    26 #include <e32base.h>
       
    27 #include "ImpsConst.h"
       
    28 
       
    29 // CONSTANTS
       
    30 
       
    31 // DATA TYPES
       
    32 
       
    33 // Owner type for presence
       
    34 // Future version may support also list ids
       
    35 enum TImpsPresOwner
       
    36     {
       
    37     EImpsUserOwner = 0
       
    38     };
       
    39 
       
    40 // Supported default presence attribute values
       
    41 enum TImpsPresAttributes
       
    42     {
       
    43     EImpsAttrComCap = 0,
       
    44     EImpsAttrOnlineStatus,
       
    45     EImpsAttrUserAvailability
       
    46     };
       
    47 
       
    48 // CommCap Cap values
       
    49 enum TImpsCap
       
    50     {
       
    51     EImpsCapIM = 0,
       
    52     EImpsCapCALL,
       
    53     EImpsCapSMS,
       
    54     EImpsCapMMS,
       
    55     EImpsCapEMAIL
       
    56     };
       
    57 
       
    58 enum TImpsUserAvailability
       
    59     {
       
    60     EImpsUANotDefined = 0,  // PresenceValue missing
       
    61     EImpsAvailable, 
       
    62     EImpsNotAvailable,
       
    63     EImpsDiscreet
       
    64     };
       
    65 
       
    66 
       
    67 #endif  
       
    68