author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Mon, 03 May 2010 13:47:38 +0300 | |
changeset 102 | ef2a444a7410 |
parent 33 | 0173bcd7697c |
permissions | -rw-r--r-- |
0 | 1 |
// Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 |
// All rights reserved. |
|
3 |
// This component and the accompanying materials are made available |
|
4 |
// under the terms of the License "Eclipse Public License v1.0" |
|
5 |
// which accompanies this distribution, and is available |
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 |
// |
|
8 |
// Initial Contributors: |
|
9 |
// Nokia Corporation - initial contribution. |
|
10 |
// |
|
11 |
// Contributors: |
|
12 |
// |
|
13 |
// Description: |
|
14 |
// e32\include\e32svr.h |
|
15 |
// |
|
16 |
// WARNING: This file contains some APIs which are internal and are subject |
|
17 |
// to change without notice. Such APIs should therefore not be used |
|
18 |
// outside the Kernel and Hardware Services package. |
|
19 |
// |
|
20 |
||
21 |
#ifndef __E32SVR_H__ |
|
22 |
#define __E32SVR_H__ |
|
23 |
#include <e32hal.h> |
|
24 |
#include <d32locd.h> |
|
25 |
#include <e32notif.h> |
|
26 |
#include <e32ldr.h> |
|
33
0173bcd7697c
Revision: 201001
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
27 |
#include <e32ldr_private.h> |
0 | 28 |
#include <e32event.h> |
29 |
#include <e32event_private.h> |
|
30 |
#include <e32ktran.h> |
|
31 |
#include <e32debug.h> |
|
32 |
#include <e32lmsg.h> |
|
33 |
||
34 |
/** |
|
35 |
@internalComponent |
|
36 |
@removed |
|
37 |
*/ |
|
38 |
enum TBlockType {EBlocked,EUnBlocked,ERelease}; |
|
39 |
||
40 |
/** |
|
41 |
A collection of static functions that are intended for internal use only, |
|
42 |
except for AddEvent. |
|
43 |
@see UserSvr::AddEvent() |
|
44 |
@publishedPartner |
|
45 |
@released |
|
46 |
*/ |
|
47 |
class UserSvr |
|
48 |
{ |
|
49 |
public: |
|
50 |
IMPORT_C static void CaptureEventHook(); /**< @internalAll */ |
|
51 |
IMPORT_C static void ReleaseEventHook(); /**< @internalAll */ |
|
52 |
IMPORT_C static void RequestEvent(TRawEventBuf &anEvent,TRequestStatus &aStatus); /**< @internalAll */ |
|
53 |
IMPORT_C static void RequestEventCancel(); /**< @internalAll */ |
|
54 |
IMPORT_C static TInt AddEvent(const TRawEvent& anEvent); |
|
55 |
IMPORT_C static void ScreenInfo(TDes8& anInfo); /**< @internalAll */ |
|
56 |
IMPORT_C static TInt DllSetTls(TInt aHandle, TAny *aPtr); /**<@internalAll */ |
|
57 |
IMPORT_C static TInt DllSetTls(TInt aHandle, TInt aDllUid, TAny *aPtr); /**< @internalComponent */ |
|
58 |
IMPORT_C static TAny *DllTls(TInt aHandle); /**< @internalAll */ |
|
59 |
IMPORT_C static TAny *DllTls(TInt aHandle, TInt aDllUid); /**< @internalComponent */ |
|
60 |
IMPORT_C static void DllFreeTls(TInt aHandle); /**< @internalAll */ |
|
61 |
IMPORT_C static void DllFileName(TInt aHandle, TDes &aFileName); /**< @internalAll */ |
|
62 |
IMPORT_C static void FsRegisterThread(); /**< @internalAll */ |
|
63 |
IMPORT_C static void RegisterTrustedChunk(TInt aHandle);/**< @internalComponent */ |
|
64 |
IMPORT_C static void WsRegisterThread(); /**< @internalAll */ |
|
65 |
IMPORT_C static TBool TestBootSequence(); /**< @internalAll */ |
|
66 |
IMPORT_C static void WsRegisterSwitchOnScreenHandling(TBool aState); /**< @internalAll */ |
|
67 |
IMPORT_C static void WsSwitchOnScreen(); /**< @internalAll */ |
|
68 |
IMPORT_C static TInt ChangeLocale(const TDesC& aLocaleDllName); /**< @internalAll */ |
|
69 |
IMPORT_C static TInt ResetMachine(TMachineStartupType aType); /**< @internalAll */ |
|
70 |
IMPORT_C static void UnlockRamDrive(); /**< @internalAll */ |
|
71 |
IMPORT_C static void LockRamDrive(); /**< @internalAll */ |
|
72 |
IMPORT_C static TUint32 RomRootDirectoryAddress(); /**< @internalAll */ |
|
73 |
IMPORT_C static TInt ExecuteInSupervisorMode(TSupervisorFunction aFunction, TAny* aParameter); /**< @internalAll */ |
|
74 |
IMPORT_C static TUint32 RomHeaderAddress(); /**< @internalAll */ |
|
75 |
IMPORT_C static TUint32 DebugMask(); /**< @internalAll */ //Return the kernel debug mask 0 |
|
76 |
IMPORT_C static TUint32 DebugMask(TUint aIndex); /**<@internalAll */ // Return the kernel debug mask |
|
77 |
IMPORT_C static TInt HalFunction(TInt aGroup, TInt aFunction, TAny* a1, TAny* a2); /**<@internalAll */ |
|
78 |
IMPORT_C static TInt HalFunction(TInt aGroup, TInt aFunction, TAny* a1, TAny* a2, TInt aDeviceNumber); /**<@internalAll */ |
|
79 |
IMPORT_C static TInt HalGet(TInt,TAny*); /**<@internalAll */ // redundant - only here for BC |
|
80 |
IMPORT_C static TInt HalSet(TInt,TAny*); /**<@internalAll */ // redundant - only here for BC |
|
81 |
IMPORT_C static TInt SetMemoryThresholds(TInt aLowThreshold, TInt aGoodThreshold); /**<@internalAll */ |
|
82 |
IMPORT_C static TBool IpcV1Available(); /**<@internalAll */ |
|
83 |
IMPORT_C static TLinAddr ExceptionDescriptor(TLinAddr aCodeAddress); /**< @internalTechnology */ |
|
84 |
IMPORT_C static TInt LocalePropertiesSetDefaults(); /**< @internalTechnology */ |
|
85 |
}; |
|
86 |
||
87 |
#endif |
|
88 |