|
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: Implements application shell SAT interface for external |
|
15 * applications. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef MENUSATINTERFACE_H |
|
22 #define MENUSATINTERFACE_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <e32std.h> |
|
26 #include <e32base.h> |
|
27 |
|
28 // CLASS DECLARATION |
|
29 |
|
30 /** |
|
31 * Interface for accessing application shell externally. |
|
32 * |
|
33 * @lib MenuInterface.dll |
|
34 * @since Series 60 3.1 |
|
35 */ |
|
36 class CMenuSATInterface : public CBase |
|
37 { |
|
38 |
|
39 public: // Constructors and destructor |
|
40 /** |
|
41 * |
|
42 * Constructor |
|
43 * |
|
44 */ |
|
45 IMPORT_C CMenuSATInterface(); |
|
46 |
|
47 public: // New functions |
|
48 /** |
|
49 * |
|
50 * Shows/Hides Sat UI (SIM Services) from |
|
51 * application shell. |
|
52 * Uses Shared Data to pass the update info |
|
53 * to AppShell |
|
54 * @since Series 60 3.1 |
|
55 * @param aVisible Flag to indicate if Sat Ui is |
|
56 * made visible or hidden. |
|
57 * @param aName New name for the application. |
|
58 * @return Error code |
|
59 */ |
|
60 IMPORT_C TInt MakeSatUiVisible(TBool aVisible, const TDesC& aName=KNullDesC()); |
|
61 |
|
62 /** |
|
63 * |
|
64 * Shows/Hides Sat UI (SIM Services) from application shell. |
|
65 * Uses Shared Data to pass the update info to AppShell |
|
66 * @since Series 60 3.1 |
|
67 * @param aVisible Flag to indicate if Sat Ui is made visible or hidden. |
|
68 * @param aName New name for the application. |
|
69 * @param aIconInfoId ID for icon info that can be used by AppShell for |
|
70 * fecthing SatUi icon from SatServer. |
|
71 * @return Error code |
|
72 */ |
|
73 IMPORT_C TInt MakeSatUiVisible |
|
74 (TBool aVisible, const TDesC& aName, TUint8 aIconInfoId); |
|
75 |
|
76 private: |
|
77 |
|
78 /** |
|
79 * Function for changing the values in central repository. Internal. |
|
80 */ |
|
81 TInt SetSatUiVisibilityData( TBool aVisible, const TDesC& aName, |
|
82 TInt8 aIconInfoId ); |
|
83 }; |
|
84 #endif // MENUSATINTERFACE_H |
|
85 |
|
86 // End of File |