dosservices/tsrc/dsytesttool/dosservercontrol/inc/mtfdosservercontrol.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 /*
       
     2 * Copyright (c) 2009 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:  Declaration of MTFDosServerControl class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __MTFDOSSERVERCONTROL_H__
       
    20 #define __MTFDOSSERVERCONTROL_H__
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 struct TTFDosServerControlTestCaseState;
       
    25 
       
    26 NONSHARABLE_CLASS( MTFDosServerControl ) 
       
    27     {
       
    28     public:
       
    29         /**
       
    30         * Constructor
       
    31         */
       
    32         MTFDosServerControl( void );
       
    33 
       
    34         /**
       
    35         * Destructor
       
    36         */
       
    37         virtual ~MTFDosServerControl( void );
       
    38     
       
    39     private:
       
    40         /**
       
    41         * Copy constructor is hidden
       
    42         */
       
    43         MTFDosServerControl( const MTFDosServerControl& aStub );
       
    44 
       
    45         /**
       
    46         * Assignment operator is hidden
       
    47         */
       
    48         MTFDosServerControl& operator=( const MTFDosServerControl& aStub );
       
    49     
       
    50     public:
       
    51         /**
       
    52         * Calls a DosServer function with given parameters
       
    53         */
       
    54         virtual void CallDosFunctionL( TTFDosServerControlTestCaseState& aParameter ) = 0;
       
    55 
       
    56         /**
       
    57         * Notifies the controller about a DosServer event
       
    58         */
       
    59         virtual void NotifyDosEvent( TInt aEvent, TInt aParameter ) = 0;
       
    60     };
       
    61 
       
    62 
       
    63 /**
       
    64 * Gets the DosServer control interface
       
    65 */
       
    66 IMPORT_C MTFDosServerControl* GetDosServerControl( void );
       
    67 
       
    68 #endif