Symbian3/PDK/Source/GUID-78DCD55A-8B25-447A-B584-14EBB00C4EC9.dita
changeset 1 25a17d01db0c
child 3 46218c8b8afa
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Symbian3/PDK/Source/GUID-78DCD55A-8B25-447A-B584-14EBB00C4EC9.dita	Fri Jan 22 18:26:19 2010 +0000
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (c) 2007-2010 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 
+"Eclipse Public License v1.0" which accompanies this distribution, 
+and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
+<!-- Initial Contributors:
+    Nokia Corporation - initial contribution.
+Contributors: 
+-->
+<!DOCTYPE concept
+  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
+<concept id="GUID-78DCD55A-8B25-447A-B584-14EBB00C4EC9" xml:lang="en"><title>Packaging
+the Privacy Controller</title><shortdesc>This topic describes how to package the Privacy Controller with
+the capabilities <codeph>Location</codeph>, <codeph>ReadDeviceData</codeph> and <codeph>WriteDeviceData</codeph>. </shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody>
+<section>       <title>Defining the MMP file</title>       <p>The example
+below shows the MMP file for an example Privacy Controller.</p><codeblock xml:space="preserve">/*
+============================================================================
+ Name		: LicenseeLBSPrivacyController.mmp
+ Description : This is the project specification file for LicenseeLBSPrivacyController.
+============================================================================
+*/
+
+TARGET		  LicenseeLBSPrivacyController.exe
+TARGETTYPE	  exe
+UID			 0x100039CE 0xE3753FED
+
+USERINCLUDE	 ..\inc
+SYSTEMINCLUDE   \epoc32\include
+SYSTEMINCLUDE	\epoc32\include\lbs
+
+SOURCEPATH	  ..\src
+SOURCE		  MyLBSPrivacyController.cpp
+
+LIBRARY		 euser.lib
+LIBRARY		 lbsprivacycontroller.lib
+LIBRARY		 lbsloccommon.lib
+
+// Required capabilities for a Privacy Controller</codeblock><p>The most important
+points about this file are: </p><ul>
+<li><p>In this case target type is <codeph>EXE</codeph> and <codeph>UID2 =
+0x100039CE</codeph> for a GUI app. A Privacy Controller could be implemented
+without a UI if user interaction is not required. The <codeph>UID3</codeph> shown
+is just an example and for a real Privacy Controller a Symbian-issued UID
+must be used.</p></li>
+<li><p>The Privacy Controller code needs to link to <filepath>lbsprivacycontroller.lib</filepath> and <filepath>lbsloccommon.lib</filepath>. </p></li>
+<li><p>The Privacy Controller requires the capabilities <codeph>Location</codeph> , <codeph>ReadDeviceData</codeph> and <codeph>WriteDeviceData</codeph> .</p></li>
+</ul>     </section>
+</conbody></concept>
\ No newline at end of file