ximpfw/presence/srcpresenceoperations/presenceauthorization/operationhandlepresencegrantrequests.h
changeset 0 e6b17d312c8b
equal deleted inserted replaced
-1:000000000000 0:e6b17d312c8b
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Handle presentity group list operations
       
    15  *
       
    16 */
       
    17 
       
    18 #ifndef CPSCOPERATIONHANDLEPRESENCEGRANTREQUESTS_H
       
    19 #define CPSCOPERATIONHANDLEPRESENCEGRANTREQUESTS_H
       
    20 
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <ximpbase.h>
       
    24 
       
    25 #include "ximpoperationbase.h"
       
    26 #include "presencetypehelpers.h"
       
    27 #include "presenceoperationdefs.h"
       
    28 
       
    29 /**
       
    30  * Handle presentity group related operations.
       
    31  *
       
    32  * @lib ximpoperations.lib
       
    33  * @since S60 v4.0
       
    34  */
       
    35 class COperationHandlePresenceGrantRequests : public CXIMPOperationBase
       
    36     {
       
    37 
       
    38     public:
       
    39 
       
    40         IMPORT_C COperationHandlePresenceGrantRequests(
       
    41                 TInt aMyType );
       
    42 
       
    43         void ConstructL( const TDesC8& aParamPck );
       
    44 
       
    45         ~COperationHandlePresenceGrantRequests();
       
    46 
       
    47     public: // from CXIMPOperationBase
       
    48 
       
    49         void ProcessL();
       
    50 
       
    51         void RequestCompletedL();
       
    52 
       
    53         TInt Type() const;
       
    54 
       
    55     private: // data
       
    56 
       
    57         /**
       
    58          * Array of group identities.
       
    59          * Owned.
       
    60          */
       
    61         RPrGrntReqInfoImpArray* iGrantReqList;
       
    62 
       
    63         /**
       
    64          * Obsoleted
       
    65          * Owned.
       
    66          */
       
    67         CXIMPIdentityImp* iObsoletedId;
       
    68 
       
    69         /**
       
    70          * Received request
       
    71          * Owned.
       
    72          */
       
    73         CPresenceGrantRequestInfoImp* iReceivedReq;
       
    74 
       
    75         /**
       
    76          * This is an internal and polymorphic operation.
       
    77          * The actual type will be defined by this variable,
       
    78          * set during operation creation.
       
    79          */
       
    80         TInt iMyType;
       
    81     };
       
    82 
       
    83 
       
    84 #endif // CPSCOPERATIONHANDLEPRESENCEGRANTREQUESTS_H