equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 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: This file defines class CMailMessageDetails. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef CMAILEXTERNALACCOUNT_H_ |
|
19 #define CMAILEXTERNALACCOUNT_H_ |
|
20 |
|
21 #include <e32def.h> |
|
22 #include <e32base.h> |
|
23 |
|
24 /** |
|
25 * Container class external email account |
|
26 * |
|
27 * @lib |
|
28 * @since S60 v9.2 |
|
29 */ |
|
30 NONSHARABLE_CLASS( CMailExternalAccount ) : public CBase |
|
31 { |
|
32 public: |
|
33 /** public constructor */ |
|
34 static CMailExternalAccount* NewL( |
|
35 const TInt aMailboxId, |
|
36 const TInt aPluginId, |
|
37 HBufC* aContentId ); |
|
38 |
|
39 /** destructor */ |
|
40 virtual ~CMailExternalAccount(); |
|
41 |
|
42 // Member accessors |
|
43 TInt MailboxId(); |
|
44 TInt PluginId(); |
|
45 TDesC& ContentId(); |
|
46 |
|
47 private: |
|
48 |
|
49 void ConstructL(); |
|
50 |
|
51 CMailExternalAccount( |
|
52 const TInt aMailboxId, |
|
53 const TInt aPluginId, |
|
54 HBufC* aContentId ); |
|
55 |
|
56 private: // data |
|
57 // actual identifier of the mailbox (unique within plugin context) |
|
58 TInt iMailboxId; |
|
59 // identifier for plugin |
|
60 TInt iPluginId; |
|
61 // identifier for the widget on homescreen |
|
62 HBufC* iContentId; |
|
63 }; |
|
64 |
|
65 #endif /* CMAILEXTERNALACCOUNT_H_ */ |