ximpfw/core/srcutils/ximpsrv.h
changeset 51 61fad867f68e
equal deleted inserted replaced
-1:000000000000 51:61fad867f68e
       
     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:  Server Message interface.
       
    15  *
       
    16 */
       
    17 
       
    18 #ifndef MXIMPSRV_H
       
    19 #define MXIMPSRV_H
       
    20 
       
    21 #include <e32base.h>
       
    22 
       
    23 /**
       
    24  * Server interface for generic server message handling.
       
    25  */
       
    26 class MXIMPSrv
       
    27     {
       
    28 public:
       
    29 
       
    30     /**
       
    31      * Notifies server from instantiation of new session.
       
    32      */
       
    33     virtual void SessionCreated() = 0;
       
    34 
       
    35     /**
       
    36      * Notifies server from cleanup of existing session.
       
    37      */
       
    38     virtual void SessionDied() = 0;
       
    39 
       
    40 protected:
       
    41 
       
    42     /**
       
    43      * Protected destructor.
       
    44      * Objects can't be deleted through this interface.
       
    45      */
       
    46     virtual ~MXIMPSrv() {};
       
    47 
       
    48     };
       
    49 
       
    50 
       
    51 #endif      //  MXIMPSRV_H
       
    52 
       
    53