epoc32/include/e32svr.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     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 "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // e32\include\e32svr.h
    15 // 
    16 //
    17 
    18 #ifndef __E32SVR_H__
    19 #define __E32SVR_H__
    20 #include <e32hal.h>
    21 #include <d32locd.h>
    22 #include <e32notif.h>
    23 #include <e32ldr.h>
    24 #include <e32event.h>
    25 #include <e32ktran.h>
    26 #include <e32debug.h>
    27 #include <e32lmsg.h>
    28 
    29 /**
    30 @internalComponent
    31 @removed
    32 */
    33 enum TBlockType {EBlocked,EUnBlocked,ERelease};
    34 
    35 /**
    36 A collection of static functions that are intended for internal use only, 
    37 except for AddEvent.
    38 @see UserSvr::AddEvent()
    39 @publishedPartner
    40 @released
    41 */
    42 class UserSvr
    43 	{
    44 public:
    45 	IMPORT_C static void CaptureEventHook();	/**< @internalAll */
    46 	IMPORT_C static void ReleaseEventHook();	/**< @internalAll */
    47 	IMPORT_C static void RequestEvent(TRawEventBuf &anEvent,TRequestStatus &aStatus);	/**< @internalAll */
    48 	IMPORT_C static void RequestEventCancel();	/**< @internalAll */
    49 	IMPORT_C static TInt AddEvent(const TRawEvent& anEvent);
    50 	IMPORT_C static void ScreenInfo(TDes8& anInfo);	/**< @internalAll */
    51 	IMPORT_C static TInt DllSetTls(TInt aHandle, TAny *aPtr);	/**<@internalAll */
    52 	IMPORT_C static TInt DllSetTls(TInt aHandle, TInt aDllUid, TAny *aPtr);	/**< @internalComponent */
    53 	IMPORT_C static TAny *DllTls(TInt aHandle);	/**< @internalAll */
    54 	IMPORT_C static TAny *DllTls(TInt aHandle, TInt aDllUid);	/**< @internalComponent */
    55 	IMPORT_C static void DllFreeTls(TInt aHandle);	/**< @internalAll */
    56 	IMPORT_C static void DllFileName(TInt aHandle, TDes &aFileName);	/**< @internalAll */
    57 	IMPORT_C static void FsRegisterThread();	/**< @internalAll */
    58 	IMPORT_C static void RegisterTrustedChunk(TInt aHandle);/**< @internalComponent */
    59 	IMPORT_C static void WsRegisterThread();	/**< @internalAll */
    60     IMPORT_C static TBool TestBootSequence();	/**< @internalAll */
    61     IMPORT_C static void WsRegisterSwitchOnScreenHandling(TBool aState);	/**< @internalAll */
    62     IMPORT_C static void WsSwitchOnScreen();	/**< @internalAll */
    63     IMPORT_C static TInt ChangeLocale(const TDesC& aLocaleDllName);	/**< @internalAll */
    64 	IMPORT_C static TInt ResetMachine(TMachineStartupType aType);	/**< @internalAll */
    65 	IMPORT_C static void UnlockRamDrive();	/**< @internalAll */
    66 	IMPORT_C static void LockRamDrive();	/**< @internalAll */
    67 	IMPORT_C static TUint32 RomRootDirectoryAddress();	/**< @internalAll */
    68 	IMPORT_C static TInt ExecuteInSupervisorMode(TSupervisorFunction aFunction, TAny* aParameter);	/**< @internalAll */
    69 	IMPORT_C static TUint32 RomHeaderAddress();	/**< @internalAll */
    70 	IMPORT_C static TUint32 DebugMask();	/**< @internalAll */ //Return the kernel debug mask 0
    71 	IMPORT_C static TUint32 DebugMask(TUint aIndex);	/**<@internalAll */	// Return the kernel debug mask
    72 	IMPORT_C static TInt HalFunction(TInt aGroup, TInt aFunction, TAny* a1, TAny* a2);	/**<@internalAll */
    73 	IMPORT_C static TInt HalFunction(TInt aGroup, TInt aFunction, TAny* a1, TAny* a2, TInt aDeviceNumber);	/**<@internalAll */
    74 	IMPORT_C static TInt HalGet(TInt,TAny*);	/**<@internalAll */ // redundant - only here for BC
    75 	IMPORT_C static TInt HalSet(TInt,TAny*);	/**<@internalAll */ // redundant - only here for BC
    76 	IMPORT_C static TInt SetMemoryThresholds(TInt aLowThreshold, TInt aGoodThreshold); /**<@internalAll */
    77 	IMPORT_C static TBool IpcV1Available();	/**<@internalAll */
    78 	IMPORT_C static TLinAddr ExceptionDescriptor(TLinAddr aCodeAddress); /**< @internalTechnology */
    79 	IMPORT_C static TInt LocalePropertiesSetDefaults();	/**< @internalTechnology */
    80 	};
    81 
    82 #endif