ximpfw/presence/srcpresenceoperations/presenceauthorization/operationcancelpresenceblockfrompresentity.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:  Withdraw presence from presentity
       
    15  *
       
    16 */
       
    17 
       
    18 #ifndef CPSCOPERATIONCANCELBLOCKFROMPRESENTITY_H
       
    19 #define CPSCOPERATIONCANCELBLOCKFROMPRESENTITY_H
       
    20 
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <ximpbase.h>
       
    24 
       
    25 #include "ximpoperationbase.h"
       
    26 #include "presenceoperationdefs.h"
       
    27 
       
    28 class CXIMPIdentityImp;
       
    29 
       
    30 /**
       
    31  * Withdraw presence from presentity
       
    32  *
       
    33  * @lib ximpoperations.lib
       
    34  * @since S60 v4.0
       
    35  */
       
    36 class COperationCancelPresenceBlockFromPresentity : public CXIMPOperationBase
       
    37     {
       
    38 
       
    39     public:
       
    40 
       
    41         IMPORT_C COperationCancelPresenceBlockFromPresentity();
       
    42 
       
    43         void ConstructL( const TDesC8& aParamPck );
       
    44 
       
    45         ~COperationCancelPresenceBlockFromPresentity();
       
    46 
       
    47 
       
    48     public: // from CXIMPOperationBase
       
    49 
       
    50         void ProcessL();
       
    51 
       
    52         void RequestCompletedL();
       
    53 
       
    54         TInt Type() const;
       
    55 
       
    56     private: // Helper methods
       
    57 
       
    58         /**
       
    59          * Synthesise event after completion
       
    60          */
       
    61         void SynthesiseEventL();
       
    62 
       
    63     private: // data
       
    64 
       
    65         /**
       
    66          * Identity
       
    67          */
       
    68         CXIMPIdentityImp* iIdentity;
       
    69 
       
    70     };
       
    71 
       
    72 
       
    73 #endif // CPSCOPERATIONCANCELBLOCKFROMPRESENTITY_H