diff -r c55016431358 -r 0a7b44b10206 symport/e32/include/e32svr.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/symport/e32/include/e32svr.h Thu Jun 25 15:59:54 2009 +0100 @@ -0,0 +1,84 @@ +// Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of the License "Symbian Foundation License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// e32\include\e32svr.h +// +// + +#ifndef __E32SVR_H__ +#define __E32SVR_H__ +#include +#include +#include +#include +#include +#include +#include +#include +#include + +/** +@internalComponent +@removed +*/ +enum TBlockType {EBlocked,EUnBlocked,ERelease}; + +/** +A collection of static functions that are intended for internal use only, +except for AddEvent. +@see UserSvr::AddEvent() +@publishedPartner +@released +*/ +class UserSvr + { +public: + IMPORT_C static void CaptureEventHook(); /**< @internalAll */ + IMPORT_C static void ReleaseEventHook(); /**< @internalAll */ + IMPORT_C static void RequestEvent(TRawEventBuf &anEvent,TRequestStatus &aStatus); /**< @internalAll */ + IMPORT_C static void RequestEventCancel(); /**< @internalAll */ + IMPORT_C static TInt AddEvent(const TRawEvent& anEvent); + IMPORT_C static void ScreenInfo(TDes8& anInfo); /**< @internalAll */ + IMPORT_C static TInt DllSetTls(TInt aHandle, TAny *aPtr); /**<@internalAll */ + IMPORT_C static TInt DllSetTls(TInt aHandle, TInt aDllUid, TAny *aPtr); /**< @internalComponent */ + IMPORT_C static TAny *DllTls(TInt aHandle); /**< @internalAll */ + IMPORT_C static TAny *DllTls(TInt aHandle, TInt aDllUid); /**< @internalComponent */ + IMPORT_C static void DllFreeTls(TInt aHandle); /**< @internalAll */ + IMPORT_C static void DllFileName(TInt aHandle, TDes &aFileName); /**< @internalAll */ + IMPORT_C static void FsRegisterThread(); /**< @internalAll */ + IMPORT_C static void RegisterTrustedChunk(TInt aHandle);/**< @internalComponent */ + IMPORT_C static void WsRegisterThread(); /**< @internalAll */ + IMPORT_C static TBool TestBootSequence(); /**< @internalAll */ + IMPORT_C static void WsRegisterSwitchOnScreenHandling(TBool aState); /**< @internalAll */ + IMPORT_C static void WsSwitchOnScreen(); /**< @internalAll */ + IMPORT_C static TInt ChangeLocale(const TDesC& aLocaleDllName); /**< @internalAll */ + IMPORT_C static TInt ResetMachine(TMachineStartupType aType); /**< @internalAll */ + IMPORT_C static void UnlockRamDrive(); /**< @internalAll */ + IMPORT_C static void LockRamDrive(); /**< @internalAll */ + IMPORT_C static TUint32 RomRootDirectoryAddress(); /**< @internalAll */ + IMPORT_C static TInt ExecuteInSupervisorMode(TSupervisorFunction aFunction, TAny* aParameter); /**< @internalAll */ + IMPORT_C static TUint32 RomHeaderAddress(); /**< @internalAll */ + IMPORT_C static TUint32 DebugMask(); /**< @internalAll */ //Return the kernel debug mask 0 + IMPORT_C static TUint32 DebugMask(TUint aIndex); /**<@internalAll */ // Return the kernel debug mask + IMPORT_C static TInt HalFunction(TInt aGroup, TInt aFunction, TAny* a1, TAny* a2); /**<@internalAll */ + IMPORT_C static TInt HalFunction(TInt aGroup, TInt aFunction, TAny* a1, TAny* a2, TInt aDeviceNumber); /**<@internalAll */ + IMPORT_C static TInt HalGet(TInt,TAny*); /**<@internalAll */ // redundant - only here for BC + IMPORT_C static TInt HalSet(TInt,TAny*); /**<@internalAll */ // redundant - only here for BC + IMPORT_C static TInt SetMemoryThresholds(TInt aLowThreshold, TInt aGoodThreshold); /**<@internalAll */ + IMPORT_C static TBool IpcV1Available(); /**<@internalAll */ + IMPORT_C static TLinAddr ExceptionDescriptor(TLinAddr aCodeAddress); /**< @internalTechnology */ + IMPORT_C static TInt LocalePropertiesSetDefaults(); /**< @internalTechnology */ + }; + +#endif +