diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/PDK/Source/GUID-328F3DB6-D956-5854-A81A-6B98DC3FA6DC.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-328F3DB6-D956-5854-A81A-6B98DC3FA6DC.dita Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,39 @@ + + + + + +Create an MMP file for the PSY This section describes how to create the MMP file for a PSY.

The MMP file for the PSY must declare it as an ECOM plugin and specify the resources it requires.

Create an MMP file for the PSY The MMP file has the format shown in the example below. TARGET examplepsy.dll +TARGETTYPE PLUGIN +UID 0x10009d8d 0x10001234 + +CAPABILITY CAP_ECOM_PLUGIN +SOURCEPATH ..\src +SOURCE EPos_ExampleMain.cpp +SOURCE EPos_CPosExamplePositioner.cpp + +USERINCLUDE ..\src +USERINCLUDE ..\resource + +SYSTEMINCLUDE \Epoc32\Include +SYSTEMINCLUDE \Epoc32\Include\oem +SYSTEMINCLUDE \Epoc32\Include\ecom + +SOURCEPATH ..\resource + +START RESOURCE exampleresource.rss // uid of dll +TARGET examplepsy.rsc +TARGETPATH \resource +END + +LIBRARY euser.lib +LIBRARY lbs.lib +LIBRARY eposservercommon.lib + The second UID must be 0x10009d8d and the third UID is the PSY DLL UID (allocated from Symbian). The PSY ECOM implementation must have a trust level of CAP_ECOM_PLUGIN to be loaded by the Location Framework. If the trust level is less than CAP_ECOM_PLUGIN then the PSY cannnot be used by Location Framework. The MMP file must specify \epoc32\include, \epoc32\include\oem, and \epoc32\include\ecom as system includes and euser.lib, lbs.lib and eposservercommon.lib as libraries.

A developer must create a subclass of CPositioner to implement a PSY.

See Implement a subclass of CPositioner for more information.

Positioning + Plug-in API Tutorial
\ No newline at end of file