equal
deleted
inserted
replaced
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
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 |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
10 // |
10 // |
11 // Contributors: |
11 // Contributors: |
25 #endif |
25 #endif |
26 |
26 |
27 #include <s32file.h> |
27 #include <s32file.h> |
28 |
28 |
29 |
29 |
|
30 |
30 /** |
31 /** |
31 @publishedPartner |
|
32 |
32 |
33 When SYMBIAN_SECURE_TASK_SCHEDULER is defined, platform security |
33 When SYMBIAN_SECURE_TASK_SCHEDULER is defined, platform security |
34 support functionality is included in Task Scheduler. |
34 support functionality is included in Task Scheduler. |
35 |
35 |
36 This means that: |
36 This means that: |
38 (i) Scheduled executables will be passed a shared file handle to |
38 (i) Scheduled executables will be passed a shared file handle to |
39 the scheduled task file by the Task Scheduler. |
39 the scheduled task file by the Task Scheduler. |
40 |
40 |
41 (ii) The CScheduledTask::SecurityInfo() API is availble to |
41 (ii) The CScheduledTask::SecurityInfo() API is availble to |
42 retrieve security information about the schedule creator. |
42 retrieve security information about the schedule creator. |
|
43 @publishedPartner |
|
44 @released |
43 */ |
45 */ |
|
46 //Only to be used internally and by Phone Manufacturers |
44 #ifndef SYMBIAN_SECURE_TASK_SCHEDULER |
47 #ifndef SYMBIAN_SECURE_TASK_SCHEDULER |
45 #define SYMBIAN_SECURE_TASK_SCHEDULER |
48 #define SYMBIAN_SECURE_TASK_SCHEDULER |
46 #endif |
49 #endif |
47 |
50 |
48 /** |
51 /** |
140 TScheduleType iScheduleType; |
143 TScheduleType iScheduleType; |
141 TSecurityInfo iSecurityInfo; |
144 TSecurityInfo iSecurityInfo; |
142 TBool iPersists; |
145 TBool iPersists; |
143 }; |
146 }; |
144 |
147 |
145 /** |
|
146 Streaming operators for TSecurityInfo |
|
147 @internalComponent |
|
148 */ |
|
149 RWriteStream& operator<<(RWriteStream& aWriteStream, |
|
150 const TSecurityInfo& aSecurityInfo); |
|
151 |
|
152 /** |
|
153 Streaming operators for TSecurityInfo |
|
154 @internalComponent |
|
155 */ |
|
156 RReadStream& operator>>(RReadStream& aReadStream, |
|
157 TSecurityInfo& aSecurityInfo); |
|
158 |
148 |
159 #endif |
149 #endif |