diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/PDK/Source/GUID-78DCD55A-8B25-447A-B584-14EBB00C4EC9.dita --- /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 @@ + + + + + +Packaging +the Privacy ControllerThis topic describes how to package the Privacy Controller with +the capabilities Location, ReadDeviceData and WriteDeviceData. +
Defining the MMP file

The example +below shows the MMP file for an example Privacy Controller.

/* +============================================================================ + 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

The most important +points about this file are:

    +
  • In this case target type is EXE and UID2 = +0x100039CE for a GUI app. A Privacy Controller could be implemented +without a UI if user interaction is not required. The UID3 shown +is just an example and for a real Privacy Controller a Symbian-issued UID +must be used.

  • +
  • The Privacy Controller code needs to link to lbsprivacycontroller.lib and lbsloccommon.lib.

  • +
  • The Privacy Controller requires the capabilities Location , ReadDeviceData and WriteDeviceData .

  • +
+
\ No newline at end of file