activityfw/activitydatabase/hsactivitydbserver/inc/aftask.h
changeset 102 8b8b34fa9751
parent 100 0920c6a9b6c8
child 106 e78d6e055a5b
equal deleted inserted replaced
100:0920c6a9b6c8 102:8b8b34fa9751
     1 /*
       
     2 * Copyright (c) 2009 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:
       
    15 *
       
    16 */
       
    17 #ifndef AFTASK_H
       
    18 #define AFTASK_H
       
    19 
       
    20 #include <e32base.h>
       
    21 
       
    22 class CAfTask: public CBase
       
    23 {
       
    24 public:
       
    25     /**
       
    26      * Return task data 
       
    27      */
       
    28     virtual const TDesC8& Data() const =0;
       
    29     
       
    30     /**
       
    31      * Notify instance about incoming broadcast message.
       
    32      * @param msg - broadcast message
       
    33      */
       
    34     virtual void BroadcastReceivedL(const RMessage2& msg) =0;
       
    35     
       
    36     /**
       
    37      * Returns ETrue if task is related with session argument
       
    38      */
       
    39     virtual TBool IsSessionTask(const CSession2* session) =0;
       
    40 };
       
    41 
       
    42 #endif  //AFTASK_H
       
    43