Symbian3/PDK/Source/GUID-78DCD55A-8B25-447A-B584-14EBB00C4EC9.dita
author Dominic Pinkman <Dominic.Pinkman@Nokia.com>
Thu, 11 Mar 2010 18:02:22 +0000
changeset 3 46218c8b8afa
parent 1 25a17d01db0c
child 5 f345bda72bc4
permissions -rw-r--r--
week 10 bug fix submission (SF PDK version): Bug 1892, Bug 1897, Bug 1319. Also 3 or 4 documents were found to contain code blocks with SFL, which has been fixed. Partial fix for broken links, links to Forum Nokia, and the 'Symbian platform' terminology issues.

<?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>