emailcontacts/contactactionservice/inc/fsccontactactionservicedefines.h
branchRCL_3
changeset 25 3533d4323edc
parent 0 8466d47a6819
equal deleted inserted replaced
24:d189ee25cf9d 25:3533d4323edc
       
     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:  Common defines for Contact Action Service
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef FSCCONTACTACTIONSERVICEDEFINES_H
       
    20 #define FSCCONTACTACTIONSERVICEDEFINES_H
       
    21 
       
    22 #include <e32base.h>
       
    23 //<cmail>
       
    24 #include "tfsccontactactionqueryresult.h"
       
    25 //</cmail>
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class MFscContactGroup;
       
    29 class MVPbkStoreContact;
       
    30 
       
    31 // TYPEDEFS
       
    32 typedef RPointerArray< MVPbkStoreContact > RFscStoreContactList;
       
    33 typedef CArrayFixFlat< TFscContactActionQueryResult > CFscContactActionList;
       
    34 
       
    35 // CONSTS
       
    36 // Action types
       
    37 const TUint64 KFscAtAll = 0xFFFFFFFFFFFFFFFF; 
       
    38 const TUint64 KFscAtCom = 0xFFFFFFFF;
       
    39 const TUint64 KFscAtComCall = 0x0FFF;
       
    40 const TUint64 KFscAtComCallGSM = 0x1;
       
    41 const TUint64 KFscAtComCallVoip = 0x2; 
       
    42 const TUint64 KFscAtComCallVideo = 0x4; 
       
    43 const TUint64 KFscAtComCallConfNum = 0x8; 
       
    44 const TUint64 KFscAtComCallConfWiz = 0x10; 
       
    45 const TUint64 KFscAtComCallPoc = 0x20; 
       
    46 const TUint64 KFscAtComSend = 0xFFF000; 
       
    47 const TUint64 KFscAtComSendMsg = 0x1000;
       
    48 const TUint64 KFscAtComSendPostcard = 0x20000;
       
    49 const TUint64 KFscAtComSendEmail = 0x4000; 
       
    50 const TUint64 KFscAtComSendAudio = 0x8000; 
       
    51 const TUint64 KFscAtComSendCalReq = 0x10000; 
       
    52 const TUint64 KFscAtMan = 0xFFFFFFFF00000000; 
       
    53 const TUint64 KFscAtManSaveAs = 0x100000000; 
       
    54 
       
    55 const TInt KFscActionPriorityNotAvailable = -1;
       
    56 const TInt KFscActionPriorityLow = 250;
       
    57 const TInt KFscActionPriorityMedium = 500;
       
    58 const TInt KFscActionPriorityHigh = 750;
       
    59 const TInt KFscActionPriorityVeryHigh = 1000;
       
    60 
       
    61 /** Default actions' set is without "Save Contact As" */
       
    62 const TUint64 KFscAtDefault = 
       
    63     KFscAtAll & ~KFscAtManSaveAs; 
       
    64 
       
    65 /** Default contacts' actions' set doesn't contain "Save Contact As" action 
       
    66  *  Left from api compatibility reason */
       
    67 const TUint64 KFscAtContactsDefault = 
       
    68     KFscAtAll & ~KFscAtManSaveAs; 
       
    69 
       
    70 #endif // FSCCONTACTACTIONSERVICEDEFINES_H