Go to the source code of this file.
Functions | |
_LIT (KTaskConsoleName,"TaskExecutor") | |
_LIT (KContent,"\nContents of task file:\n") | |
_LIT (KTask,"\nRunning task: %S") | |
_LIT (KTaskData,"\nThis is the task data for a") | |
_LIT (KTaskId,"\nThe task Id is: %d\n") | |
_LIT (KValidity,"Task is valid until %S\n") | |
_LIT (KDateString,"%H%:1%T %*E%*D%X%*N%Y %1 %2 %3") | |
_LIT (KPressAnyKey,"Press any key to continue \n") | |
_LIT (KAbort,"\nCapabilities of the task scheduler and the executor do not match. Task aborted\n") | |
_LIT (KSidMismatch,"SID of the task executor is not same as that of the scheduler. Task aborted\n") | |
void | TaskExecuteL (RFile &aTaskFile) |
TInt | Execute () |
GLDEF_C TInt | E32Main () |
Variables | |
const TUint32 | KTaskSchedulerSid = 0xE80000B5 |
const TCapability | KTaskCapability = ECapabilityWriteDeviceData |
Definition in file taskexecutor.cpp.
void TaskExecuteL | ( | RFile & | aTaskFile | ) |
Extracts task data, and puts up a message on the console. Validates the security of the task requester by a) Checking the secure ID; and b) Capabilities of the task requester.
Definition at line 49 of file taskexecutor.cpp.
GLDEF_C TInt E32Main | ( | ) |
Returns standard error code on exit
Secure variant only Process entry point. Called by client using RProcess API
Entry point for the example
The below section is added to make the code compatible with v9.1 This is because only exe files are compatible with v9.1
Standard entry point function.
A normal Symbian OS executable provides an E32Main() function which is called by the operating system to start the program.
Definition at line 147 of file taskexecutor.cpp.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.