Symbian3/SDK/Source/GUID-43080A86-72D3-5422-953E-A5EF79961D7B.dita
changeset 2 ebc84c812384
parent 0 89d6a7a84779
--- a/Symbian3/SDK/Source/GUID-43080A86-72D3-5422-953E-A5EF79961D7B.dita	Fri Jan 22 18:26:19 2010 +0000
+++ b/Symbian3/SDK/Source/GUID-43080A86-72D3-5422-953E-A5EF79961D7B.dita	Thu Mar 11 15:24:26 2010 +0000
@@ -11,7 +11,7 @@
   PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
 <concept id="GUID-43080A86-72D3-5422-953E-A5EF79961D7B" xml:lang="en"><title>Writing
 a UPS Policy Evaluator</title><prolog><metadata><keywords/></metadata></prolog><conbody>
-<section><title>Introduction</title> <p>Policy Evaluators are ECOM plug-ins.
+<section id="GUID-56EDF170-1A32-4275-8799-99D13C485E1E"><title>Introduction</title> <p>Policy Evaluators are ECOM plug-ins.
 They allow security decisions to be specific to the data on which the service
 acts instead of simply granting full access to the service, for example "Allow
 application X to send SMS messages to 01234567". This is supported through
@@ -39,7 +39,7 @@
 on a usage threshold or simply as additional confirmation if the user selected
 "Never". This is supported via the force prompt functionality. </p> </li>
 </ul> </section>
-<section><title>Procedure</title> <p>Writing policy evaluator includes the
+<section id="GUID-CCBB139D-0F1C-4AD4-B2F2-062CF660A0DE"><title>Procedure</title> <p>Writing policy evaluator includes the
 following: </p> <ol id="GUID-F50174F6-3619-545A-8844-D4DA64B1B339">
 <li id="GUID-246EF2AB-23D9-5B1B-BC4C-8CCFB545C307"><p>Generating fingerprints </p> </li>
 <li id="GUID-4427FF70-9461-566A-8567-FC6EEF879475"><p>Forcing prompts </p> </li>
@@ -181,7 +181,7 @@
 creators do not define a policy evaluator, a default (internal) policy evaluator
 is returned. The default policy evaluator returns a single, null fingerprint.
 The default policy evaluator does not override the <codeph>ForcePromptL()</codeph> API. </p> </section>
-<section><title> Upgrading policy evaluators </title> <p>A policy evaluator
+<section id="GUID-987ECDA9-5728-4A7A-AB38-D58A7CC097AC"><title> Upgrading policy evaluators </title> <p>A policy evaluator
 can be overwritten or eclipsed without restarting the UPS, if it is delivered
 through an appropriately signed upgrade. </p> <ul>
 <li id="GUID-086FABB6-13C0-5D98-8B2A-1D38BD620EB5"><p>The ECOM plug-in will
@@ -194,20 +194,8 @@
 the UPS that the plug-ins may have changed whenever Software Install modifies <filepath>sys\bin</filepath> on
 the system drive. There is no need to explicitly register changes to plug-ins. </p> </li>
 </ul> </section>
-<section><title> Policy evaluator example</title> <p>The following code shows
-an example of a full implementation of the policy evaluator file: </p> <codeblock id="GUID-D1615A8D-334C-5718-BFD6-EC3004A09F3A" xml:space="preserve">// Copyright (c) 2006-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.
-
-// refpolicyevaluator.cpp
-
-#include "refpolicyevaluator.h"
+<section id="GUID-48624948-C1C9-4DEA-A6E1-6E4B9AC72E8E"><title> Policy evaluator example</title> <p>The following code shows
+an example of a full implementation of the policy evaluator file: </p> <codeblock id="GUID-D1615A8D-334C-5718-BFD6-EC3004A09F3A" xml:space="preserve">#include "refpolicyevaluator.h"
 #include &lt;ecom/implementationproxy.h&gt;
 #include &lt;ups/cliententity.h&gt;
 #include &lt;ups/fingerprint.h&gt;