sapi_applicationmanager/tsrc/testing/tappmgrtest/inc/testappobserver.h
author BuildAdmin@LON-ENGBUILD89
Mon, 27 Apr 2009 18:49:22 +0100
changeset 5 520d34a2e6ee
parent 0 14df0fbfcc4e
permissions -rw-r--r--
[maven-scm] copy for tag serviceapi_FCL.003

/*
* Copyright (c) 2007-2007 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "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:  Operation Observer is for observing operation events of the appservice class.
*  							 Client application gets notified when asynchronous operations
*                are completed.
*
*/






#include "appobserver.h"
#include  "e32base.h" 



// CLASS DECLARATION
/**
*  App Observer is for observing operation events of the appservice class.
*  Client application gets notified when asynchronous operations
*  are completed.
*
*
*  @since  Series60 v3.2
*/

class CAppObserver : public CBase, public MAppObserver
    {

    public:

        /**
        * Abstract method to get AppServiceclass events. This method is
        * called when an event is received.
        * @since  Series60 v3.2
        * @param aReason indicates error code or sucess of asynch event
        * @return void
        */
        virtual void AppNotifyCallbackL(TInt32 aReason, TInt32 aTransactionID ,TAppOperationEvent& aOperationEvent);

	     /**
        * Destructor.
        */
        virtual ~CAppObserver() {}
        
        /**
        * NewL function .
        */
        
        static CAppObserver* NewL(CActiveSchedulerWait * aWait);
        
        
        TInt32 iReason;
        
        private:
            
            CAppObserver(CActiveSchedulerWait*);
            
            CActiveSchedulerWait* iWait;
            
            
             


	};