equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004-2009 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 * Name : MQueryObserver.h |
|
16 * Part of : ProxyResolver |
|
17 * Version : SIP/4.0 |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 /** |
|
25 @internalComponent |
|
26 */ |
|
27 |
|
28 #ifndef __MQUERYOBSERVER_H__ |
|
29 #define __MQUERYOBSERVER_H__ |
|
30 |
|
31 #include <e32std.h> |
|
32 class CProxyQuery; |
|
33 |
|
34 |
|
35 class MQueryObserver |
|
36 { |
|
37 public: |
|
38 |
|
39 virtual ~MQueryObserver() {} |
|
40 |
|
41 /** |
|
42 * A RConnection has been succesfully started and |
|
43 * the query is ready for resolving. |
|
44 * |
|
45 * @param aQuery identifies which query is ready to be resolved |
|
46 */ |
|
47 virtual void ConnectionReady( CProxyQuery* aQuery) = 0; |
|
48 |
|
49 /** |
|
50 * Opening a RConnection has failed and |
|
51 * therefore the query cannot be resolved. |
|
52 * |
|
53 * @param aError a reason for failure |
|
54 */ |
|
55 virtual void ErrorOccured( TInt aError, CProxyQuery* aQuery ) = 0; |
|
56 }; |
|
57 |
|
58 #endif // __MQUERYOBSERVER_H__ |