|
1 /* |
|
2 * Copyright (c) 2007 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: Declearation for exception handling. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef IPSSETVIEW_H_ |
|
19 #define IPSSETVIEW_H_ |
|
20 |
|
21 // SYSTEM INCLUDES |
|
22 //<cmail> |
|
23 #include "cfsmailcommon.h" |
|
24 #include "esmailsettingsplugin.h" |
|
25 //</cmail> |
|
26 |
|
27 |
|
28 // class declaration |
|
29 class CIpsSetView : public CESMailSettingsPlugin |
|
30 { |
|
31 public: |
|
32 |
|
33 static CIpsSetView* NewL(); |
|
34 ~CIpsSetView(); |
|
35 |
|
36 /** |
|
37 * from base class CAknView |
|
38 */ |
|
39 TUid Id() const; |
|
40 |
|
41 protected: |
|
42 |
|
43 // from base class CAknView |
|
44 |
|
45 void DoActivateL( |
|
46 const TVwsViewId& aPrevViewId, |
|
47 TUid aCustomMessageId, |
|
48 const TDesC8& aCustomMessage ); |
|
49 |
|
50 void DoDeactivate(); |
|
51 |
|
52 private: |
|
53 CIpsSetView(); |
|
54 void ConstructL(); |
|
55 |
|
56 static TInt RunSettingsDlgL( TAny* aSelfPtr ); |
|
57 public: |
|
58 |
|
59 |
|
60 // from CESMailSettingsUiPlugin |
|
61 |
|
62 TInt MailSettingsSubviewCount(); |
|
63 |
|
64 TPtrC MailSettingsSubviewCaption( |
|
65 TFSMailMsgId aAccountId, |
|
66 TInt aSubviewIndex, |
|
67 TBool aLongCaption ); |
|
68 |
|
69 TBool CanHandlePIMSync(); |
|
70 |
|
71 TPtrC LocalizedProtocolName(); |
|
72 |
|
73 TBool IsSelectedForPIMSync(); |
|
74 |
|
75 void SelectForPIMSync( TBool aSelectForSync ); |
|
76 |
|
77 TInt PIMSettingsSubviewCount(); |
|
78 |
|
79 TPtrC PIMSettingsSubviewCaption( |
|
80 TFSMailMsgId aAccountId, |
|
81 TInt aSubviewIndex, |
|
82 TBool aLongCaption ); |
|
83 |
|
84 private: |
|
85 CAsyncCallBack* iAsyncCallback; |
|
86 TVwsViewId iPrevViewId; |
|
87 HBufC8* iCustomMessage; |
|
88 }; |
|
89 |
|
90 #endif //IPSSETVIEW_H_ |
|
91 |
|
92 // End of File |