devicediagnostics/diagplugins/diagbrowserplugin/inc/diagbrowserpluginmodelobserver.h
changeset 0 3ce708148e4d
equal deleted inserted replaced
-1:000000000000 0:3ce708148e4d
       
     1 /*
       
     2 * Copyright (c) 2007 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:  This is the header for the Browser Test Model Observer
       
    15 *                 class, which the Browser Test plugin implements to receive
       
    16 *                 events from the model.
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef DIAGBROWSERPLUGINMODELOBSERVER_H
       
    22 #define DIAGBROWSERPLUGINMODELOBSERVER_H
       
    23 
       
    24 // System Include Files
       
    25 #include <DiagResultsDatabaseItem.h>    // CDiagResultsDatabaseItem
       
    26 
       
    27 /**
       
    28 *  Browser Test Model Observer
       
    29 *   
       
    30 *   This is a pure virtual class that the Browser Test Plugin must implement
       
    31 *   to receive callbacks from the model class.
       
    32 */
       
    33 class MDiagBrowserPluginModelObserver
       
    34     {
       
    35 public:
       
    36 
       
    37     /**
       
    38     * This function notifies that test execution has completed.
       
    39     *
       
    40     * @param aResult The test result.
       
    41     */
       
    42     virtual void TestEndL( CDiagResultsDatabaseItem::TResult aResult ) = 0;
       
    43 
       
    44     /**
       
    45     * This function notifies of test progress.
       
    46     *
       
    47     * @param aCurrentStep The current execution step.
       
    48     */
       
    49     virtual void TestProgressL( TUint aCurrentStep ) = 0;
       
    50 
       
    51     };
       
    52 
       
    53 #endif // DIAGBROWSERPLUGINMODELOBSERVER_H