phonebookui/Phonebook2/inc/Pbk2ServerAppIPC.h
branchRCL_3
changeset 20 f4a778e096c2
parent 0 e686773b3f54
equal deleted inserted replaced
19:5b6f26637ad3 20:f4a778e096c2
       
     1 /*
       
     2 * Copyright (c) 2005-2007 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:  Phonebook 2 server application IPC command set.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef PBK2SERVERAPPIPC_H
       
    20 #define PBK2SERVERAPPIPC_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <apaserverapp.h>
       
    24 
       
    25 /**
       
    26  * Phonebook 2 server app IPC command set.
       
    27  */
       
    28 enum TPbk2AppServerIPC
       
    29     {
       
    30     EPbk2LaunchFetch = RApaAppServiceBase::KServiceCmdBase,
       
    31     EPbk2LaunchAssign,
       
    32     EPbk2LaunchAttributeAssign,
       
    33     EPbk2LaunchAttributeUnassign,
       
    34     EPbk2CancelFetch,
       
    35     EPbk2CancelAssign,
       
    36     /// Accepts or denies the service
       
    37     EPbk2AcceptService,
       
    38     /// Accepts or denies exit request
       
    39     EPbk2ExitService,
       
    40     /// Request exit notification
       
    41     EPbk2ExitRequest,
       
    42     /// Cancels exit request notification
       
    43     EPbk2CancelExitRequest,
       
    44     /// Request accept notification
       
    45     EPbk2AcceptRequest,
       
    46     /// Cancels accept request notification
       
    47     EPbk2CancelAcceptRequest,
       
    48     EPbk2GetResults,
       
    49     EPbk2GetResultSize
       
    50     };
       
    51 
       
    52 /**
       
    53  * Phonebook 2 attribute assign data structure.
       
    54  */
       
    55 struct TPbk2AttributeAssignData
       
    56     {
       
    57     /// Uid of the attribute to assign
       
    58     TUid iAttributeUid;
       
    59     /// Value of the attribute (for example a speed dial index)
       
    60     TInt iAttributeValue;
       
    61     };
       
    62 
       
    63 #endif // PBK2SERVERAPPIPC_H
       
    64 
       
    65 // End of File