pressrv_plat/watcher_info_api/inc/msimplewinfoobserver.h
changeset 0 c8caa15ef882
equal deleted inserted replaced
-1:000000000000 0:c8caa15ef882
       
     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:    SIMPLE watcher info callback observer
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef M_simplewinfoobserver_H
       
    22 #define M_simplewinfoobserver_H
       
    23 
       
    24 #include <e32std.h>
       
    25 
       
    26 
       
    27 // FORWARD DECLARATION
       
    28 class MSimpleWinfo;
       
    29 
       
    30 /**
       
    31  *  MSimpleWinfoObserver
       
    32  *
       
    33  *  SIMPLE watcher info (WINFO) callback observer
       
    34  *
       
    35  *  @lib simpleengine
       
    36  *  @since S60 v3.2
       
    37  */
       
    38 
       
    39 class MSimpleWinfoObserver
       
    40     {
       
    41 public:
       
    42 
       
    43     /**
       
    44      * Callback for WINFO request completion
       
    45      * @since S60 3.2
       
    46      * @param aOpid operation id
       
    47      * @param aStatus completion status.
       
    48      */
       
    49     virtual void WinfoReqCompleteL( TInt aOpid, TInt aStatus ) = 0;
       
    50 
       
    51     /**
       
    52      * Callback for WINFO termination
       
    53      * @since S60 3.2
       
    54      * @param aOpid operation id
       
    55      * @param aReason termination reason. Refer to simpleerrors.h
       
    56      */
       
    57     virtual void WinfoTerminatedL(
       
    58         TInt aOpid, TInt aReason ) = 0;
       
    59 
       
    60     /**
       
    61      * Callback for WINFO notification
       
    62      * @since S60 3.2
       
    63      * @param aWinfo WINFO
       
    64      */
       
    65     virtual void WinfoNotificationL(
       
    66         MSimpleWinfo& aWinfo ) = 0;
       
    67     };
       
    68 
       
    69 #endif
       
    70 
       
    71 // End of File