|
1 /* |
|
2 * Copyright (c) 2004 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: Login data refresher. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __CNUISAPLOGINDATAREFRESHER_H |
|
19 #define __CNUISAPLOGINDATAREFRESHER_H |
|
20 |
|
21 // INCLUDE FILES |
|
22 #include <E32std.h> |
|
23 |
|
24 //FORWARD DECLARATION |
|
25 class CIMPSSAPSettings; |
|
26 class MCnUiUiFacade; |
|
27 |
|
28 |
|
29 // CLASS DECLARATION |
|
30 /** |
|
31 * Login data refresher. |
|
32 * |
|
33 * @since 2.1 |
|
34 */ |
|
35 NONSHARABLE_CLASS( CnUiSapLoginDataRefresher ) |
|
36 { |
|
37 public: // New methods |
|
38 |
|
39 /** |
|
40 * Login data refresher. |
|
41 * Refreshes the user login data to SAP using the |
|
42 * UI facade. |
|
43 * |
|
44 * @since 2.1 |
|
45 * @param aUi The UI to use. |
|
46 * @param aSap The SAP for which to refresh. |
|
47 * @param aReEdi EFalse if this is initial edit, |
|
48 * else this is a re-edit (ETrue). |
|
49 * @return ETrue if user accepted the login dat edit. |
|
50 * EFalse if user canceled the edit. |
|
51 */ |
|
52 TBool static RefreshLoginDataL( MCnUiUiFacade& aUi, |
|
53 CIMPSSAPSettings& aSap, |
|
54 TBool aReEdit ); |
|
55 |
|
56 |
|
57 private: // prohibited constructor / destructor |
|
58 CnUiSapLoginDataRefresher(); |
|
59 ~CnUiSapLoginDataRefresher(); |
|
60 }; |
|
61 |
|
62 |
|
63 #endif //__CNUISAPLOGINDATAREFRESHER_H |
|
64 |
|
65 // End of File |
|
66 |