lbstest/lbstestproduct/lbsclient/inc/ctlbsclientstepobserveinstall.h
changeset 0 9cfd9a3ee49c
equal deleted inserted replaced
-1:000000000000 0:9cfd9a3ee49c
       
     1 /*
       
     2 * Copyright (c) 2008 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:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __CT_LBS_CLIENT_STEP_OBSERVE_INSTALL_H__
       
    20 #define __CT_LBS_CLIENT_STEP_OBSERVE_INSTALL_H__
       
    21 
       
    22 //  INCLUDES
       
    23 #include "ctlbsportedstepbase.h"
       
    24 #include "epos_mposmodulesobserver.h" 
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31 *  Test procedure 300
       
    32 *
       
    33 */
       
    34 class CT_LbsClientStepObserveInstall : public CT_LbsPortedStepBase, public MPosModulesObserver
       
    35     {
       
    36     public:  // Constructors and destructor
       
    37 
       
    38         /**
       
    39         * C++ default constructor.
       
    40         */
       
    41     	CT_LbsClientStepObserveInstall(CT_LbsServer& aParent);
       
    42 
       
    43         /**
       
    44         * Destructor.
       
    45         */
       
    46         ~CT_LbsClientStepObserveInstall();
       
    47 
       
    48     public: // Functions from base classes
       
    49 
       
    50         /**
       
    51         * From CT_LbsPortedStepBase
       
    52         * Runs the test in the module
       
    53         */
       
    54         void StartL();
       
    55 
       
    56     public: // New Functions
       
    57 
       
    58         void HandleSettingsChangeL(TPosModulesEvent);
       
    59 
       
    60         void CheckErrorL();
       
    61 
       
    62         void DoEventHandlingL();
       
    63         
       
    64         TInt SISUninstallPsyL(const TUid& aAppId);
       
    65         
       
    66         TInt SISInstallPsyL(const TDesC& aSisPath);
       
    67         
       
    68      protected:
       
    69 
       
    70         TBool iError;
       
    71         TBuf<200> iErrorText;
       
    72         TInt iExpectedEvent; 
       
    73         
       
    74      private:   
       
    75     };
       
    76 
       
    77 
       
    78 #endif      // __CT_LBS_CLIENT_STEP_OBSERVE_INSTALL_H__
       
    79 
       
    80 // End of File