devicediagnostics/diagplugins/diagdatanetworkplugin/inc/diagdatanetworktestcallbackinterface.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 callback interface between the 
       
    15 *                 plugin class and the engine class
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef DIAGDATANETWORKTESTCALLBACKINERFACE_H
       
    21 #define DIAGDATANETWORKTESTCALLBACKINERFACE_H
       
    22 
       
    23 #include <DiagResultsDatabaseItem.h> // CDiagResultsDatabaseItem
       
    24 
       
    25 class MDiagDataNetworkTestCallBackInterface
       
    26     {
       
    27 public:
       
    28     /**
       
    29     * This function is used by the engine class to report result of the test to the plug-in class
       
    30     */  
       
    31     virtual void ReportTestResultL(CDiagResultsDatabaseItem::TResult aResult) = 0;    
       
    32     
       
    33     /**
       
    34     * This function is used by the engine class to report progress of the test to the plug-in class
       
    35     */          
       
    36     virtual void ReportTestProgL(TInt aStep) = 0;   
       
    37 	virtual TBool DisplayDialog(TInt & aUserResponse) = 0;
       
    38     };
       
    39     
       
    40 
       
    41 #endif // DIAGDATANETWORKTESTCALLBACKINERFACE_H