activityfw/activitydatabase/hsactivitydbserver/inc/activitytask.h
changeset 73 4bc7b118b3df
child 83 156f692b1687
equal deleted inserted replaced
66:32469d7d46ff 73:4bc7b118b3df
       
     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 ACTIVITYTASK_H
       
    18 #define ACTIVITYTASK_H
       
    19 
       
    20 class CActivityTask: public CBase
       
    21 {
       
    22 public:
       
    23     /**
       
    24      * Return task data 
       
    25      */
       
    26     virtual const TDesC8& Data() const =0;
       
    27     
       
    28     /**
       
    29      * Notify instance about incoming broadcast message.
       
    30      * @param msg - broadcast message
       
    31      */
       
    32     virtual void BroadcastReceivedL(const RMessage2& msg) =0;
       
    33 };
       
    34 
       
    35 #endif  //ACTIVITYTASK_H
       
    36