|
1 /* |
|
2 * Copyright (c) 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 * |
|
16 */ |
|
17 |
|
18 #ifndef MCALREMOTEATTACHMENTOPERATION_H |
|
19 #define MCALREMOTEATTACHMENTOPERATION_H |
|
20 |
|
21 #include <e32base.h> |
|
22 |
|
23 class MCalRemoteAttachment; |
|
24 |
|
25 /** |
|
26 * MCalRemoteAttachmentOperation defines interface for calendar attachment operations |
|
27 */ |
|
28 class MCalRemoteAttachmentOperation |
|
29 { |
|
30 public: // Destruction |
|
31 /** |
|
32 * Virtual C++ destructor |
|
33 */ |
|
34 virtual ~MCalRemoteAttachmentOperation() {} |
|
35 |
|
36 public: // Interface |
|
37 |
|
38 /** |
|
39 * fetches progress of the operation. |
|
40 * @return Operation progress |
|
41 */ |
|
42 virtual TInt Progress() const = 0; |
|
43 |
|
44 /** |
|
45 * Fetches the information about the attachment related to this command. |
|
46 * @return Attachment information |
|
47 */ |
|
48 virtual const MCalRemoteAttachment& AttachmentInformation() const = 0; |
|
49 |
|
50 /** |
|
51 * Returns an extension point for this interface or NULL. |
|
52 * |
|
53 * @param aExtensionUid Uid of extension |
|
54 * @return Extension point or NULL |
|
55 */ |
|
56 virtual TAny* CalRemoteAttachmentOperationExtension( |
|
57 TUid /*aExtensionUid*/ ) { return NULL; } |
|
58 }; |
|
59 |
|
60 #endif // MCALREMOTEATTACHMENTOPERATION_H |
|
61 |
|
62 // EOF |
|
63 |