ximpfw/presence/srcpresenceoperations/presenceauthorization/operationhandlepresenceblocking.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 presence blocking operations
       
    15  *
       
    16 */
       
    17 
       
    18 #ifndef CPSCOPERATIONHANDLEPRESENCEBLOCKING_H
       
    19 #define CPSCOPERATIONHANDLEPRESENCEBLOCKING_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 class CXIMPIdentityImp;
       
    30 
       
    31 /**
       
    32  * Handle presentity group related operations.
       
    33  *
       
    34  * @lib ximpoperations.lib
       
    35  * @since S60 v4.0
       
    36  */
       
    37 class COperationHandlePresenceBlocking : public CXIMPOperationBase
       
    38     {
       
    39 
       
    40     public:
       
    41 
       
    42         IMPORT_C COperationHandlePresenceBlocking(
       
    43                 TInt aMyType );
       
    44 
       
    45         void ConstructL( const TDesC8& aParamPck );
       
    46 
       
    47         ~COperationHandlePresenceBlocking();
       
    48 
       
    49     public: // from CXIMPOperationBase
       
    50 
       
    51         void ProcessL();
       
    52 
       
    53         void RequestCompletedL();
       
    54 
       
    55         TInt Type() const;
       
    56 
       
    57     private: // data
       
    58 
       
    59         /**
       
    60          * Array blocked presentities.
       
    61          * Owned.
       
    62          */
       
    63         RPrBlockInfoImpArray* iBlockList;
       
    64 
       
    65         /**
       
    66          * Blocked presentity
       
    67          * Owned.
       
    68          */
       
    69         CPresenceBlockInfoImp* iBlocked;
       
    70 
       
    71         /**
       
    72          * Canceled block presentity
       
    73          * Owned.
       
    74          */
       
    75         CXIMPIdentityImp* iCanceledBlockId;
       
    76 
       
    77         /**
       
    78          * This is an internal and polymorphic operation.
       
    79          * The actual type will be defined by this variable,
       
    80          * set during operation creation.
       
    81          */
       
    82         TInt iMyType;
       
    83     };
       
    84 
       
    85 
       
    86 #endif // CPSCOPERATIONHANDLEPRESENCEBLOCKING_H