|
1 /* |
|
2 * Copyright (c) 2007-2008 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 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef M_NCDINSTALLREPORTOBSERVER_H |
|
20 #define M_NCDINSTALLREPORTOBSERVER_H |
|
21 |
|
22 #include <e32base.h> |
|
23 |
|
24 #include "ncdreportstatusinfo.h" |
|
25 #include "catalogshttptypes.h" |
|
26 |
|
27 class CNcdNodeIdentifier; |
|
28 class TCatalogsConnectionMethod; |
|
29 |
|
30 /** |
|
31 * Observer interface for reporting install events |
|
32 */ |
|
33 class MNcdInstallReportObserver |
|
34 { |
|
35 public: |
|
36 |
|
37 virtual TNcdReportId RegisterInstallL( |
|
38 const TDesC& aContentIdentifier, |
|
39 const CNcdNodeIdentifier& aMetadataId, |
|
40 const TNcdReportStatusInfo& aStatus, |
|
41 const TDesC& aReportUri, |
|
42 const TDesC& aReportNamespace ) = 0; |
|
43 |
|
44 virtual TInt SetInstallReportAccessPoint( |
|
45 const TNcdReportId& aReportId, |
|
46 const TCatalogsConnectionMethod& aAccessPoint ) = 0; |
|
47 |
|
48 virtual void ReportInstallStatusL( |
|
49 const TNcdReportId& aReportId, |
|
50 const TNcdReportStatusInfo& aStatus ) = 0; |
|
51 |
|
52 protected: |
|
53 |
|
54 virtual ~MNcdInstallReportObserver() |
|
55 { |
|
56 } |
|
57 }; |
|
58 |
|
59 #endif // M_NCDINSTALLREPORTOBSERVER_H |