ximpfw/presence/srcpresenceoperations/presencepublishing/operationhandleownpresence.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 own presence operation
       
    15  *
       
    16 */
       
    17 
       
    18 #ifndef CPSCOPERATIONHANDLEOWNPRESENCE_H
       
    19 #define CPSCOPERATIONHANDLEOWNPRESENCE_H
       
    20 
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 #include <ximpbase.h>
       
    25 #include "ximpoperationbase.h"
       
    26 #include "presenceoperationdefs.h"
       
    27 
       
    28 class CPresenceInfoImp;
       
    29 
       
    30 /**
       
    31  * Publish presence operation.
       
    32  *
       
    33  * @lib ximpoperations.lib
       
    34  * @since S60 v4.0
       
    35  */
       
    36 class COperationHandleOwnPresence : public CXIMPOperationBase
       
    37     {
       
    38 
       
    39     public:
       
    40 
       
    41         IMPORT_C COperationHandleOwnPresence();
       
    42 
       
    43         void ConstructL( const TDesC8& aParamPck );
       
    44 
       
    45         ~COperationHandleOwnPresence();
       
    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          * Presence document to handle. 
       
    59          * Own.
       
    60          */
       
    61         CPresenceInfoImp* iPresInfo;
       
    62     };
       
    63 
       
    64 
       
    65 #endif // CPSCOPERATIONHANDLEOWNPRESENCE_H