|
1 /* |
|
2 * Copyright (c) 2002-2005 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: Interface for AppUi class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef MCAAPPUI_H |
|
21 #define MCAAPPUI_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32std.h> |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class MCALayoutChangeObserver; |
|
28 class MCAResourceChangeObserver; |
|
29 |
|
30 |
|
31 // CLASS DECLARATION |
|
32 |
|
33 /** |
|
34 * Interface for AppUi class |
|
35 * |
|
36 * @lib chat.exe |
|
37 * @since Series 60 3.0 |
|
38 */ |
|
39 class MCAAppUi |
|
40 { |
|
41 public: // New functions |
|
42 |
|
43 /* |
|
44 * Returns a full path to chat bitmap file. |
|
45 * @return TDes reference to chat bitmap file. |
|
46 */ |
|
47 virtual TDes& MbmFullPath() = 0; |
|
48 |
|
49 /** |
|
50 * Adds layout change observer |
|
51 * @param aObserver Pointer to observer |
|
52 */ |
|
53 virtual void AddLayoutChangeObserver( MCALayoutChangeObserver* aObserver ) = 0; |
|
54 |
|
55 /** |
|
56 * Removes layout observer |
|
57 * @param aObserver Pointer to removed observer |
|
58 */ |
|
59 virtual void RemoveLayoutChangeObserver( MCALayoutChangeObserver* aObserver ) = 0; |
|
60 |
|
61 /** |
|
62 * Adds resource observer |
|
63 * @param aObserver Pointer to observer |
|
64 */ |
|
65 virtual void AddResourceChangeObserver( MCAResourceChangeObserver* aObserver ) = 0; |
|
66 |
|
67 /** |
|
68 * Removes resource observer |
|
69 * @param aObserver Pointer to removed observer |
|
70 */ |
|
71 virtual void RemoveResourceChangeObserver( MCAResourceChangeObserver* aObserver ) = 0; |
|
72 }; |
|
73 |
|
74 #endif // MCAAPPUI_H |
|
75 |
|
76 // End of File |