56
|
1 |
/*
|
|
2 |
* Copyright (c) 2005 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: Provides an observer interface for server logic AO operation
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
#ifndef M_LBTAOOBSERVER_H
|
|
20 |
#define M_LBTAOOBSERVER_H
|
|
21 |
|
|
22 |
// FORWARD DECLARATION
|
|
23 |
class CLbtAOOperationBase;
|
|
24 |
|
|
25 |
/**
|
|
26 |
* Class that needs to implement this interface to listen
|
|
27 |
* to events that come from the AO Operation class
|
|
28 |
*
|
|
29 |
* @since S60 v4.0
|
|
30 |
*/
|
|
31 |
class MLbtAOObserver
|
|
32 |
{
|
|
33 |
public:
|
|
34 |
/**
|
|
35 |
* Notifies the observer of any notifications from
|
|
36 |
* Container or stratergy manager. This method will be
|
|
37 |
* invoked by the operation object when it completes
|
|
38 |
* its operation for which the object would have been
|
|
39 |
* created. After the operation is complete the operation
|
|
40 |
* object can be deleted. The operation object sends the
|
|
41 |
* pointer itself for identification
|
|
42 |
*
|
|
43 |
* @param[in] aOperation pointer to the operation object
|
|
44 |
* which invokes this method
|
|
45 |
* @param aStatus the completion status of the messsage
|
|
46 |
*/
|
|
47 |
virtual void HandleOperationClosureL( CLbtAOOperationBase* aOperation,
|
|
48 |
TInt aStatus ) = 0;
|
|
49 |
};
|
|
50 |
|
|
51 |
#endif //M_LBTAOOBSERVER_H |