satengine/SatServer/inc/MSatRefreshSubSession.h
changeset 46 2fa1fa551b0b
parent 42 35488577e233
child 48 78df25012fda
equal deleted inserted replaced
42:35488577e233 46:2fa1fa551b0b
     1 /*
       
     2 * Copyright (c) 2002-2005 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:  Interface for refresh subsession.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MSATREFRESHSUBSESSION_H
       
    21 #define MSATREFRESHSUBSESSION_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <etelsat.h>
       
    25 #include <e32std.h>
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class MSatCommand;
       
    29 class MSatReplyObserver;
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34 *  Interface for refresh subsession.
       
    35 *
       
    36 *  @lib SatEngine.lib
       
    37 *  @since Series S60 3.0
       
    38 */
       
    39 class MSatRefreshSubSession
       
    40     {
       
    41     protected:
       
    42 
       
    43         /**
       
    44         * C++ default constructor.
       
    45         */
       
    46         MSatRefreshSubSession() {};
       
    47 
       
    48         /**
       
    49         * Destructor.
       
    50         */
       
    51         virtual ~MSatRefreshSubSession() {};
       
    52 
       
    53     public: // New functions
       
    54 
       
    55         /**
       
    56         * Query for allowing the refresh
       
    57         * @param aRefresh Refresh data.
       
    58         */
       
    59         virtual void QueryClient( const RSat::TRefreshV2& aRefresh ) = 0;
       
    60 
       
    61         /**
       
    62         * Refresh event.
       
    63         * @param aRefresh Refresh data.
       
    64         */
       
    65         virtual void NotifyClient( const RSat::TRefreshV2& aRefresh ) = 0;
       
    66 
       
    67         /**
       
    68         * Refresh cancel event.
       
    69         */
       
    70         virtual void NotifyClientCancel() = 0;
       
    71 
       
    72     private:
       
    73 
       
    74         // Prohibit copy constructor if not deriving from CBase.
       
    75         MSatRefreshSubSession( const MSatRefreshSubSession& );
       
    76 
       
    77         // Prohibit assigment operator if not deriving from CBase.
       
    78         MSatRefreshSubSession& operator=( const MSatRefreshSubSession& );
       
    79 
       
    80     };
       
    81 
       
    82 #endif      // MSATREFRESHSUBSESSION_H
       
    83 
       
    84 // End of File