equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2003 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: Service Settings UI observer |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __MWVSETTINGSOBSERVERNG_H |
|
20 #define __MWVSETTINGSOBSERVERNG_H |
|
21 |
|
22 #include <e32base.h> |
|
23 |
|
24 // CLASS DECLARATION |
|
25 |
|
26 /** |
|
27 * Interface for the clients of service settings UI |
|
28 * for observing server changes |
|
29 * |
|
30 * @lib WVServiceSettingsUi.dll |
|
31 * @since 2.1 |
|
32 */ |
|
33 class MWVSettingsObserver |
|
34 { |
|
35 |
|
36 public: |
|
37 |
|
38 |
|
39 |
|
40 /** |
|
41 * This method is called when the current server changes |
|
42 * @since 2.1 |
|
43 * @param aNewServerName the name of the new server |
|
44 */ |
|
45 virtual void ServerChangedL ( const TDesC& aNewServerName, TBool aDefaultServerChanged = EFalse ) = 0; |
|
46 |
|
47 /** |
|
48 * @since 3.0 |
|
49 * @return the currently used server name (ownership is transferred) |
|
50 */ |
|
51 virtual HBufC* CurrentServerNameLC() = 0; |
|
52 |
|
53 protected: |
|
54 |
|
55 /** |
|
56 * Destructor |
|
57 */ |
|
58 virtual ~MWVSettingsObserver() {}; |
|
59 |
|
60 }; |
|
61 |
|
62 #endif // __MWVSETTINGSOBSERVERNG_H |