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