devicediagnostics/diagplugins/diagbrowserplugin/inc/diagbrowserpluginmodelobserver.h
author William Roberts <williamr@symbian.org>
Sun, 14 Mar 2010 13:08:44 +0000
branchCompilerCompatibility
changeset 12 4d84526f9016
parent 0 3ce708148e4d
permissions -rw-r--r--
Automatic merge from PDK_3.0.h

/*
* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  This is the header for the Browser Test Model Observer
*                 class, which the Browser Test plugin implements to receive
*                 events from the model.
*
*/


#ifndef DIAGBROWSERPLUGINMODELOBSERVER_H
#define DIAGBROWSERPLUGINMODELOBSERVER_H

// System Include Files
#include <DiagResultsDatabaseItem.h>    // CDiagResultsDatabaseItem

/**
*  Browser Test Model Observer
*   
*   This is a pure virtual class that the Browser Test Plugin must implement
*   to receive callbacks from the model class.
*/
class MDiagBrowserPluginModelObserver
    {
public:

    /**
    * This function notifies that test execution has completed.
    *
    * @param aResult The test result.
    */
    virtual void TestEndL( CDiagResultsDatabaseItem::TResult aResult ) = 0;

    /**
    * This function notifies of test progress.
    *
    * @param aCurrentStep The current execution step.
    */
    virtual void TestProgressL( TUint aCurrentStep ) = 0;

    };

#endif // DIAGBROWSERPLUGINMODELOBSERVER_H