uidesigner/com.nokia.sdt.series60.componentlibrary/templates/tutorials/Birthdays/template.xml
changeset 0 fb279309251b
child 589 d7c1a3ec899c
equal deleted inserted replaced
-1:000000000000 0:fb279309251b
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <!DOCTYPE template [
       
     3 <!ENTITY standardDirFields SYSTEM "../../shared/standardDirFields.inc">
       
     4 ]>
       
     5 <template 
       
     6 	version="1.0" 
       
     7 	label="%template.label">
       
     8 	<description>%template.desc</description>
       
     9 	<wizardPage 
       
    10 		id="basics" 
       
    11 		label="%basics.label">
       
    12 		<description>%basics.desc</description>
       
    13 		<uidField 
       
    14 				id="uid3"
       
    15 				label="%basics.uid3.label"
       
    16 				min="0xe0000000"
       
    17 				max="0xefffffff"
       
    18 				mandatory="true">
       
    19 				<description>%basics.uid3.desc</description>
       
    20 		</uidField>
       
    21 	</wizardPage>
       
    22 
       
    23 	<wizardPage 
       
    24 		id="directories" 
       
    25 		label="%directories.label">
       
    26 
       
    27 		&standardDirFields;
       
    28 
       
    29 		<filenameField 
       
    30 				id="gfxDir"
       
    31 				label="%directories.gfxDir.label"
       
    32 				default="gfx"
       
    33 				mandatory="true"
       
    34 				persist="true">
       
    35 				<description>%directories.gfxDir.desc</description>
       
    36 		</filenameField>
       
    37 	</wizardPage>
       
    38 
       
    39 	<process class="com.nokia.sdt.series60.processes.AddProjectNameVariantsProcessRunner"
       
    40 				bundle="com.nokia.sdt.series60.componentlibrary">
       
    41 		<parameter name="project" projectName="$(projectName)" />
       
    42 	</process>
       
    43 	
       
    44 	<process class="com.nokia.carbide.cpp.project.core.processes.NewProject"
       
    45 	 		bundle="com.nokia.carbide.cpp.project.core">
       
    46 		<parameter name="project" projectName="$(projectName)" /> 
       
    47 	</process>
       
    48 	
       
    49 	<process class="com.nokia.carbide.cpp.project.core.processes.CreateRezId"
       
    50 	 	bundle="com.nokia.carbide.cpp.project.core">
       
    51 		<parameter name="project" projectName="$(projectName)" /> 
       
    52 	</process>
       
    53 
       
    54 	<process class="com.nokia.carbide.cpp.internal.sdk.core.processes.CheckS60CustKitSupport"
       
    55 	 	bundle="com.nokia.carbide.cpp.sdk.core">
       
    56 		<parameter name="project" projectName="$(projectName)" />			
       
    57 	</process>
       
    58 
       
    59 	<process class="com.nokia.carbide.templatewizard.processes.CreateFolders"
       
    60 		 	bundle="com.nokia.carbide.templatewizard">
       
    61 		<parameter name="project" projectName="$(projectName)" />
       
    62 		<parameter name="folder" path="$(sourceDir)" /> 
       
    63 		<parameter name="folder" path="$(incDir)" /> 
       
    64 		<parameter name="folder" path="$(dataDir)" /> 
       
    65 		<parameter name="folder" path="$(groupDir)" /> 
       
    66 		<parameter name="folder" path="$(gfxDir)" /> 
       
    67 		<parameter name="folder" path="$(sisDir)" /> 
       
    68 	</process>
       
    69 	
       
    70 	<process class="com.nokia.carbide.templatewizard.processes.CopyFiles"
       
    71 	 	bundle="com.nokia.carbide.templatewizard">
       
    72 		<parameter name="project" projectName="$(projectName)" />
       
    73 		
       
    74 		<parameter name="file"
       
    75 			sourcePath="README.txt"
       
    76 			targetPath="README.txt" 
       
    77 			/>
       
    78 		<parameter name="file"
       
    79 			sourcePath="data/baseName_reg.loc" 
       
    80 			targetPath="$(dataDir)/$(baseName)_reg.loc" 
       
    81 			/>
       
    82 		<parameter name="file"
       
    83 			sourcePath="data/baseName_reg.rss" 
       
    84 			targetPath="$(dataDir)/$(baseName)_reg.rss" 
       
    85 			/>
       
    86 		<parameter name="file"
       
    87 			sourcePath="data/baseName.l01" 
       
    88 			targetPath="$(dataDir)/$(baseName).l01" 
       
    89 			/>
       
    90 		<parameter name="file"
       
    91 			sourcePath="data/baseName.loc" 
       
    92 			targetPath="$(dataDir)/$(baseName).loc" 
       
    93 			/>
       
    94 		<parameter name="file"
       
    95 			sourcePath="data/baseName.rss" 
       
    96 			targetPath="$(dataDir)/$(baseName).rss" 
       
    97 			/>
       
    98 		<parameter name="file"
       
    99 			sourcePath="data/BirthdayForm.l01" 
       
   100 			targetPath="$(dataDir)/BirthdayForm.l01" 
       
   101 			/>
       
   102 		<parameter name="file"
       
   103 			sourcePath="data/BirthdayForm.loc" 
       
   104 			targetPath="$(dataDir)/BirthdayForm.loc" 
       
   105 			/>
       
   106 		<parameter name="file"
       
   107 			sourcePath="data/BirthdayForm.rssi" 
       
   108 			targetPath="$(dataDir)/BirthdayForm.rssi" 
       
   109 			/>
       
   110 		<parameter name="file"
       
   111 			sourcePath="data/BirthdaysList.l01" 
       
   112 			targetPath="$(dataDir)/BirthdaysList.l01" 
       
   113 			/>
       
   114 		<parameter name="file"
       
   115 			sourcePath="data/BirthdaysList.loc" 
       
   116 			targetPath="$(dataDir)/BirthdaysList.loc" 
       
   117 			/>
       
   118 		<parameter name="file"
       
   119 			sourcePath="data/BirthdaysList.rssi" 
       
   120 			targetPath="$(dataDir)/BirthdaysList.rssi" 
       
   121 			/>
       
   122 		<parameter name="file"
       
   123 			sourcePath="gfx/present_excl.svg" 
       
   124 			targetPath="$(gfxDir)/present_excl.svg" 
       
   125 			substitute="false" 
       
   126 			/>
       
   127 		<parameter name="file"
       
   128 			sourcePath="gfx/present.svg" 
       
   129 			targetPath="$(gfxDir)/present.svg" 
       
   130 			substitute="false" 
       
   131 			/>
       
   132 		<parameter name="file"
       
   133 			sourcePath="gfx/qgn_menu_Birthdays.svg" 
       
   134 			targetPath="$(gfxDir)/qgn_menu_$(baseName).svg" 
       
   135 			substitute="false" 
       
   136 			/>
       
   137 		<parameter name="file"
       
   138 			sourcePath="group/baseName.mmp" 
       
   139 			targetPath="$(groupDir)/$(baseName).mmp" 
       
   140 			/>
       
   141 		<parameter name="file"
       
   142 			sourcePath="group/bld.inf" 
       
   143 			targetPath="$(groupDir)/bld.inf" 
       
   144 			/>
       
   145 		<parameter name="file"
       
   146 			sourcePath="group/Icons_aif_scalable_dc.mk" 
       
   147 			targetPath="$(groupDir)/Icons_aif_scalable_dc.mk" 
       
   148 			/>
       
   149 		<parameter name="file"
       
   150 			sourcePath="sis/baseName.pkg" 
       
   151 			targetPath="$(sisDir)/$(baseName).pkg" 
       
   152 			/>
       
   153 		<parameter name="file"
       
   154 			sourcePath="sis/backup_registration.xml" 
       
   155 			targetPath="$(sisDir)/backup_registration.xml" 
       
   156 			/>
       
   157 		<parameter name="file"
       
   158 			sourcePath="application.uidesign" 
       
   159 			targetPath="application.uidesign" 
       
   160 			/>
       
   161 		<parameter name="file"
       
   162 			sourcePath="BirthdaysList.uidesign" 
       
   163 			targetPath="BirthdaysList.uidesign" 
       
   164 			/>
       
   165 		<parameter name="file"
       
   166 			sourcePath="BirthdayForm.uidesign" 
       
   167 			targetPath="BirthdayForm.uidesign" 
       
   168 			/>
       
   169 	</process>
       
   170 	
       
   171 	<process class="com.nokia.carbide.cpp.project.core.processes.CopyFilesAndFormatAsCpp"
       
   172 		bundle="com.nokia.carbide.cpp.project.core">
       
   173 		<parameter name="project" projectName="$(projectName)" />			
       
   174 			
       
   175 		<parameter name="file"
       
   176 			sourcePath="inc/BirthdayForm.h" 
       
   177 			targetPath="$(incDir)/BirthdayForm.h" 
       
   178 			/>
       
   179 		<parameter name="file"
       
   180 			sourcePath="inc/BirthdayForm.hrh" 
       
   181 			targetPath="$(incDir)/BirthdayForm.hrh" 
       
   182 			/>
       
   183 		<parameter name="file"
       
   184 			sourcePath="inc/baseName.hrh" 
       
   185 			targetPath="$(incDir)/$(baseName).hrh" 
       
   186 			/>
       
   187 		<parameter name="file"
       
   188 			sourcePath="inc/BirthdaysApplication.h" 
       
   189 			targetPath="$(incDir)/BirthdaysApplication.h" 
       
   190 			/>
       
   191 		<parameter name="file"
       
   192 			sourcePath="inc/BirthdaysAppUi.h" 
       
   193 			targetPath="$(incDir)/BirthdaysAppUi.h" 
       
   194 			/>
       
   195 		<parameter name="file"
       
   196 			sourcePath="inc/BirthdaysDocument.h" 
       
   197 			targetPath="$(incDir)/BirthdaysDocument.h" 
       
   198 			/>
       
   199 		<parameter name="file"
       
   200 			sourcePath="inc/BirthdaysList.h" 
       
   201 			targetPath="$(incDir)/BirthdaysList.h" 
       
   202 			/>
       
   203 		<parameter name="file"
       
   204 			sourcePath="inc/BirthdaysList.hrh" 
       
   205 			targetPath="$(incDir)/BirthdaysList.hrh" 
       
   206 			/>
       
   207 		<parameter name="file"
       
   208 			sourcePath="inc/BirthdaysListView.h" 
       
   209 			targetPath="$(incDir)/BirthdaysListView.h" 
       
   210 			/>
       
   211 		<parameter name="file"
       
   212 			sourcePath="inc/TBirthday.h" 
       
   213 			targetPath="$(incDir)/TBirthday.h" 
       
   214 			/>
       
   215 		<parameter name="file"
       
   216 			sourcePath="src/BirthdayForm.cpp" 
       
   217 			targetPath="$(sourceDir)/BirthdayForm.cpp" 
       
   218 			/>
       
   219 		<parameter name="file"
       
   220 			sourcePath="src/BirthdaysApplication.cpp" 
       
   221 			targetPath="$(sourceDir)/BirthdaysApplication.cpp" 
       
   222 			/>
       
   223 		<parameter name="file"
       
   224 			sourcePath="src/BirthdaysAppUi.cpp" 
       
   225 			targetPath="$(sourceDir)/BirthdaysAppUi.cpp" 
       
   226 			/>
       
   227 		<parameter name="file"
       
   228 			sourcePath="src/BirthdaysDocument.cpp" 
       
   229 			targetPath="$(sourceDir)/BirthdaysDocument.cpp" 
       
   230 			/>
       
   231 		<parameter name="file"
       
   232 			sourcePath="src/BirthdaysList.cpp" 
       
   233 			targetPath="$(sourceDir)/BirthdaysList.cpp" 
       
   234 			/>
       
   235 		<parameter name="file"
       
   236 			sourcePath="src/BirthdaysListView.cpp" 
       
   237 			targetPath="$(sourceDir)/BirthdaysListView.cpp" 
       
   238 			/>
       
   239 		<parameter name="file"
       
   240 			sourcePath="src/TBirthday.cpp" 
       
   241 			targetPath="$(sourceDir)/TBirthday.cpp" 
       
   242 			/>
       
   243 	</process>
       
   244 
       
   245 	<process class="com.nokia.carbide.templatewizard.processes.OpenFileInEditor"
       
   246 			 bundle="com.nokia.carbide.templatewizard">
       
   247 		<parameter name="project" projectName="$(projectName)" fileName="README.txt" />
       
   248 	</process>
       
   249 
       
   250 	<process class="com.nokia.sdt.symbian.updater.SetIgnoreAutoUpgrade"
       
   251 				bundle="com.nokia.sdt.symbian">
       
   252 		<parameter name="project" projectName="$(projectName)" />
       
   253 	</process>
       
   254 
       
   255 	<process class="com.nokia.carbide.cpp.project.ui.processes.ProjectCreatedTasks"
       
   256 	 	bundle="com.nokia.carbide.cpp.project.ui">
       
   257 		<parameter name="project" projectName="$(projectName)"
       
   258 			bldInfPath="$(groupDir)/bld.inf"
       
   259 			targetMMPFileName="$(baseName).mmp" 
       
   260 			pkgFilePath="$(sisDir)/$(baseName).pkg" /> 
       
   261 	</process>
       
   262 
       
   263 </template>
       
   264