equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 - 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: Helper classes for interface. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef MEMAILDATA_H |
|
19 #define MEMAILDATA_H |
|
20 |
|
21 // System includes |
|
22 #include <memailmailboxdata.h> |
|
23 |
|
24 namespace EmailInterface { |
|
25 |
|
26 /** |
|
27 * Container interface to data that plugin offers |
|
28 * Plugin must ensure that the data is available when MailboxesL() returns |
|
29 * Client will access the data always through this API; no direct references are |
|
30 * stored permanently in the client |
|
31 */ |
|
32 class MEmailData |
|
33 { |
|
34 public: |
|
35 /** |
|
36 * Accessor for mailbox information that this plugin is offering |
|
37 * @ return pointer array of mailbox data interfaces |
|
38 */ |
|
39 virtual RPointerArray<MMailboxData>& MailboxesL() = 0; |
|
40 }; |
|
41 |
|
42 } // namespace |
|
43 |
|
44 #endif // MEMAILDATA_H |