5
|
1 |
/*
|
|
2 |
* Copyright (c) 2007-2007 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 the License "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: Operation Observer is for observing operation events of the appservice class.
|
|
15 |
* Client application gets notified when asynchronous operations
|
|
16 |
* are completed.
|
|
17 |
*
|
|
18 |
*/
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
#ifndef __APPOBSERVER_H
|
|
23 |
#define __APPOBSERVER_H
|
|
24 |
|
|
25 |
#include <e32def.h>
|
|
26 |
#include "appmanagercommon.h"
|
|
27 |
|
|
28 |
// CLASS DECLARATION
|
|
29 |
/**
|
|
30 |
* App Observer is for observing operation events of the appservice class.
|
|
31 |
* Client application gets notified when asynchronous operations
|
|
32 |
* are completed.
|
|
33 |
*
|
|
34 |
*
|
|
35 |
* @since Series60 v3.2
|
|
36 |
*/
|
|
37 |
class MAppObserver
|
|
38 |
{
|
|
39 |
|
|
40 |
public:
|
|
41 |
|
|
42 |
/**
|
|
43 |
* Abstract method to get AppServiceclass events. This method is
|
|
44 |
* called when an event is received.
|
|
45 |
* @since Series60 v3.2
|
|
46 |
* @param aReason indicates error code or sucess of asynch event
|
|
47 |
* @return void
|
|
48 |
*/
|
|
49 |
virtual void AppNotifyCallbackL( TInt32 aReason, TInt32 aTransactionID ,TAppOperationEvent& aOperationEvent ) = 0;
|
|
50 |
|
|
51 |
/**
|
|
52 |
* Destructor.
|
|
53 |
*/
|
|
54 |
//virtual ~MAppObserver() {}
|
|
55 |
|
|
56 |
|
|
57 |
};
|
|
58 |
|
|
59 |
#endif __APPOBSERVER_H |