equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008 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: Controls the native global indicators. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CGLOBALINDICATORS_H |
|
20 #define CGLOBALINDICATORS_H |
|
21 |
|
22 // CLASS DECLARATION |
|
23 |
|
24 class CGlobalIndicators: public CBase |
|
25 { |
|
26 public: |
|
27 /** |
|
28 * Sets the value of the given global indicator. |
|
29 * |
|
30 * @param aIndicator id of the indicator |
|
31 * |
|
32 * @param aValue the value to set for the global indicator. |
|
33 * |
|
34 * @return the value that is currently set for the indicator, |
|
35 * or a native error value. |
|
36 */ |
|
37 static TInt SetGlobalIndicator(TInt aIndicator, TInt aValue); |
|
38 |
|
39 /** |
|
40 * Gets the value of the given global indicator. |
|
41 * |
|
42 * @param aIndicator id of the indicator |
|
43 * |
|
44 * @return the value that is currently set for the indicator, |
|
45 * or a native error value. |
|
46 */ |
|
47 static TInt GlobalIndicator(TInt aIndicator); |
|
48 }; |
|
49 #endif // CGLOBALINDICATORS_H |
|
50 |
|
51 |