serviceproviders/sapi_applicationmanager/inc/appserviceobserver.h
author MattD <mattd@symbian.org>
Thu, 12 Nov 2009 16:07:15 +0000
changeset 34 4a5bd01d597a
parent 19 989d2f495d90
permissions -rw-r--r--
Added tag PDK_3.0.c for changeset b092b3f8f4f2

/*
* 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 "appmanagerservice.h"



class MLiwNotifyCallback;
// 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 CAppServiceObserver : 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 ~CAppServiceObserver() {}
        
        /**
        * NewL function .
        */
        
        static CAppServiceObserver* NewL( MLiwNotifyCallback* aCallBack );
        
        
         
    private:
            
            
            
            /**
            * Constructor.
            */
            
            CAppServiceObserver( MLiwNotifyCallback* aCallBack );
            
            
            /**
            * Liw Call back.
            */
            MLiwNotifyCallback* iCallBack ;
            
            
	};