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