|
1 /* |
|
2 * Copyright (c) 2006 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: MNcdProtocolDefaultObserver declaration |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef M_NCDPROTOCOLDEFAULTOBSERVER_H |
|
20 #define M_NCDPROTOCOLDEFAULTOBSERVER_H |
|
21 |
|
22 #include <e32base.h> |
|
23 #include "ncdparserobserver.h" |
|
24 |
|
25 |
|
26 /** |
|
27 * Default protocol event observer. |
|
28 * All protocol events not handled elsewhere should be passed here, |
|
29 * where they are processed further. |
|
30 * @ Add other protocol observer interfaces. |
|
31 */ |
|
32 class MNcdProtocolDefaultObserver : public MNcdParserConfigurationProtocolObserver, |
|
33 // public MNcdParserEntityObserver, |
|
34 // public MNCdParserPurchaseObserver, |
|
35 // public MNcdParserSessionObserver, |
|
36 public MNcdParserInformationObserver, |
|
37 public MNcdParserDataBlocksObserver, |
|
38 public MNcdParserErrorObserver, |
|
39 public MNcdParserQueryObserver, |
|
40 public MNcdParserSubscriptionObserver |
|
41 |
|
42 |
|
43 { |
|
44 public: // Implementing object can be deleted through this interface |
|
45 virtual ~MNcdProtocolDefaultObserver() {} |
|
46 |
|
47 }; |
|
48 |
|
49 |
|
50 |
|
51 // /** |
|
52 // * Default protocol event observer observer. |
|
53 // * Used to inform the owner of the default observer that the default observer |
|
54 // * can be safely deleted |
|
55 // */ |
|
56 // class MNcdProtocolDefaultObserverOwner |
|
57 // { |
|
58 // public: |
|
59 // virtual void DefaultObserverFinished( |
|
60 // MNcdProtocolDefaultObserver& aObserver ) = 0; |
|
61 |
|
62 // protected: |
|
63 // virtual ~MNcdProtocolDefaultObserverOwner() |
|
64 // { |
|
65 // } |
|
66 // }; |
|
67 |
|
68 #endif |