mmserv/tms/tmsserver/inc/tmsasyncreqobsrv.h
branchRCL_3
changeset 19 095bea5f582e
equal deleted inserted replaced
18:a36789189b53 19:095bea5f582e
       
     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: Telephony Multimedia Service
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef TMSASYNCREQOBSRV_H
       
    19 #define TMSASYNCREQOBSRV_H
       
    20 
       
    21 namespace TMS {
       
    22 
       
    23 // CLASS DECLARATION
       
    24 
       
    25 /**
       
    26  *  Virtual interface to active object handling asynchronous requests.
       
    27  */
       
    28 NONSHARABLE_CLASS(TMSAsyncReqObsrv)
       
    29     {
       
    30 public:
       
    31     /**
       
    32      * Allows to gracefully handle error on leave during RunL operation.
       
    33      */
       
    34     virtual void HandleError(TInt aError) = 0;
       
    35 
       
    36     /**
       
    37      * Calls method handling asynchronous request.
       
    38      */
       
    39     virtual void HandleAsyncReq() = 0;
       
    40     };
       
    41 
       
    42 } //namespace TMS
       
    43 
       
    44 #endif // TMSASYNCREQOBSRV_H
       
    45 
       
    46 //End of file