ximpfw/tsrc/tsrcutils/testcaseutils/prfwtestfilelogichelper.h
changeset 0 e6b17d312c8b
equal deleted inserted replaced
-1:000000000000 0:e6b17d312c8b
       
     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:  Test support file tool
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CPRFWTESTFILELOGICHELPER_H
       
    20 #define CPRFWTESTFILELOGICHELPER_H
       
    21 
       
    22 #include <e32base.h>
       
    23 #include "prfwtestfileobserver.h"
       
    24 
       
    25 class MXIMPProtocolConnectionHost;
       
    26 class CXIMPTestMessenger;
       
    27 
       
    28 /**
       
    29  * @since S60 v4.0
       
    30  */
       
    31 class CXIMPTestFileLogicHelper : public CBase, public MXIMPTestFileObserver
       
    32     {
       
    33     public:
       
    34 
       
    35         IMPORT_C static CXIMPTestFileLogicHelper* NewL( MXIMPProtocolConnectionHost& aHost, CXIMPTestMessenger& aMessenger  );
       
    36         virtual ~CXIMPTestFileLogicHelper();
       
    37 
       
    38     private:
       
    39 
       
    40         CXIMPTestFileLogicHelper( MXIMPProtocolConnectionHost& aHost, CXIMPTestMessenger& aMessenger );
       
    41         void ConstructL();
       
    42 
       
    43     public:
       
    44 
       
    45 
       
    46     private: // From MXIMPTestFileObserver
       
    47 
       
    48         /**
       
    49          * @see MXIMPTestFileObserver
       
    50          */
       
    51         virtual void HandleL( TInt aCommandType, TDesC8& aCommand );
       
    52 
       
    53     private: // data
       
    54 
       
    55         /**
       
    56          * Access to host for server messages.
       
    57          */
       
    58         MXIMPProtocolConnectionHost& iHost;
       
    59         
       
    60         /**
       
    61          * Does not own. Messenger for signaling.
       
    62          */
       
    63         CXIMPTestMessenger& iMessenger;
       
    64     };
       
    65 
       
    66 #endif // CPRFWTESTFILELOGICHELPER_H