www.pudn.com > UIQ_Code1.rar > HelloWorld.mmp
// HelloWorld.mmp // // © Symbian Software Ltd 2005. All rights reserved. // // For more information see the "MMP file syntax" section in the SDK // documentation. // Specify the file generated by the project TARGET HelloWorld.exe // UID1 - System level identifier. TARGETTYPE EXE // UID specify UID2 and UID3 for the project. // UID2 - Can be thought of as an interface identifier. // UID3 - Can be thought of as a project identifier. // For more information about UID see "How to use UIDs" section // in the SDK documentation. // The UID3 is also specified in HelloWorld_reg.rss, HelloWorldExternalInterface.h // and the .pkg files. // For all SDK examples test range UID is used (>0x8000000), these will not // work in released products. UID 0x100039CE 0xE0001001 // SOURCEPATH - Define the location of the project and its work files // Specifies how a resource file should be compiled // TARGETPATH - Define the directory where the resource should be built into. // HEADER - Tells the resource compiler to produce a file // \epoc32\include\.rsg, which defines macro constants through which // C++ programs can refer to resource structures. // LANG - Indicate languages code for the project. The default language code is SC. SOURCEPATH ..\Rsc START RESOURCE HelloWorld.rss HEADER TARGETPATH \Resource\Apps LANG SC END // Application must provide a registration file, which gives // non-localisable information. // TARGETPATH - All registration files in the system shall be located in the // same path, this due to security reasons. On the emulator, all registration // files should be located in \private\10003a3f\apps. For applications // installed onto a phone using the standard software installation method, // their registration files should be installed into // \private\10003a3f\import\apps, but that is defined in the pkg file. SOURCEPATH ..\Reg START RESOURCE HelloWorld_reg.rss TARGETPATH \private\10003a3f\apps END // This file defines the application's captions and the name of the icon file // TARGETPATH - Define the directory where the resource should be built into. // LANG - Indicate languages code for the project. The default language code is SC. START RESOURCE HelloWorld_loc.rss TARGETPATH \Resource\Apps LANG SC END // SOURCEPATH - Define the location of the project and its work files // USERINCLUDE - Define directories to be scanned for files specified in // #include statements in source and resource files. SOURCEPATH ..\SRC USERINCLUDE ..\INC SOURCE HelloWorldApplication.cpp SOURCE HelloWorldDocument.cpp SOURCE HelloWorldAppUi.cpp SOURCE HelloWorldView.cpp // SYSTEMINCLUDE - Define directories to be scanned for files specified in // #include statements in source and resource files. SYSTEMINCLUDE \EPOC32\INCLUDE // Specifies import libraries LIBRARY euser.lib LIBRARY apparc.lib LIBRARY cone.lib LIBRARY eikcore.lib LIBRARY eikcoctl.lib LIBRARY qikcore.lib // New heap allocator, which is more effective in out of memory situations. // You only need to include the libs in the mmp file to use the new heap allocator. STATICLIBRARY qikalloc.lib LIBRARY qikallocdll.lib // This section has bitmaps for application icons. // Specifies how to compile bitmap (.bmp) files into a Symbian OS // format multi-bitmap (.mbm) file. // Different sizes of source bitmap should be supplied. The OS selects the // most appropriate icon size for the UI's current zoom state. This avoids the // need for the icon to be dynamically scaled when it is drawn at a different size. // For each image, an image bitmap and a mask bitmap are needed. The mask // should be black for the parts of the image that should be visible, and white // for the transparent areas. // For more information about icons see "Defining application icons, captions // and properties" section in the SDK documentation. START BITMAP HelloWorldAppIcon.mbm HEADER TARGETPATH \Resource\Apps SOURCEPATH ..\Data\AppIcon // Source Color-depth Source-bitmap-list // c denotes whether the bitmap is a colour bitmap and the digits represent the // colour-depth of the bitmap and the bitmap mask respectively SOURCE c24 HelloWorld_Small.bmp SOURCE 8 HelloWorld_Small_mask.bmp SOURCE c24 HelloWorld_Large.bmp SOURCE 8 HelloWorld_Large_mask.bmp SOURCE c24 HelloWorld_xLarge.bmp SOURCE 8 HelloWorld_xLarge_mask.bmp END