sipvoipprovider/inc/svpsessionobserver.h
branchRCL_3
changeset 21 f742655b05bf
parent 20 65a3ef1d5bd0
child 22 d38647835c2e
equal deleted inserted replaced
20:65a3ef1d5bd0 21:f742655b05bf
     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:  Provides observer methods for SVP
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef SVPSESSIONOBSERVER_H
       
    21 #define SVPSESSIONOBSERVER_H
       
    22 
       
    23 
       
    24 class CSVPSessionBase;
       
    25 class CMceInSession;
       
    26 
       
    27 
       
    28 /**
       
    29 *  An interface to be implemented by users of MCE if they wish to receive
       
    30 *  information about SVP sessions: Used mainly for session cleanup procedures
       
    31 *
       
    32 *
       
    33 *  @lib svp.dll
       
    34 */
       
    35 class MSVPSessionObserver
       
    36     {
       
    37 
       
    38 public: // New functions
       
    39         
       
    40         /**
       
    41         * Removes session from array.
       
    42         * @since Series60 3.2
       
    43         * @param aSession
       
    44         * @return None.
       
    45         */
       
    46         virtual void RemoveFromArray( CSVPSessionBase& aSession ) = 0;
       
    47         
       
    48         /**
       
    49         * Terminates session when Mt session creation has failed in early
       
    50         * stages of session creation and CCE does not have information
       
    51         * about incoming session
       
    52         * @since Series60 3.2
       
    53         * @param aSession Session to be terminated.
       
    54         * @return None.
       
    55         */
       
    56         virtual void TerminateSession( CMceInSession& aSession ) = 0;				
       
    57     };
       
    58 
       
    59 #endif // SVPSESSIONOBSERVER_H