symbian3/app/speechsrv/package_definition.xml
branchHighFidelityModel
changeset 39 bd4651024dad
parent 31 b43c73b88658
child 61 8ae69391a51a
equal deleted inserted replaced
38:12159035c0ef 39:bd4651024dad
     1 <?xml version="1.0" encoding="UTF-8"?>
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <!DOCTYPE SystemDefinition [
     2 <!DOCTYPE SystemDefinition [
     3  <!ELEMENT SystemDefinition (systemModel?,SystemBuild?)>
     3 <!ELEMENT SystemDefinition ( systemModel )>
     4  <!ATTLIST SystemDefinition
     4 <!ATTLIST SystemDefinition
     5   name CDATA #REQUIRED
     5   name CDATA #REQUIRED
     6   schema CDATA #REQUIRED>
     6   schema CDATA #REQUIRED
     7  <!ELEMENT systemModel (layer+)>
     7 >
     8  <!ELEMENT layer (block*|collection*)*>
     8 <!-- all paths are relative to the environment variable specified by the root attribute, or SOURCEROOT if not.  -->
     9  <!ATTLIST layer
     9 
       
    10 <!-- System Model Section of DTD -->
       
    11 <!ELEMENT systemModel (layer+)>
       
    12 
       
    13 <!ELEMENT layer (block* | collection*)*>
       
    14 <!-- Kernel Services, Base Services, OS Services, Etc -->
       
    15 <!ATTLIST layer
    10   name CDATA #REQUIRED
    16   name CDATA #REQUIRED
    11   long-name CDATA #IMPLIED
    17   long-name CDATA #IMPLIED
    12   levels NMTOKENS #IMPLIED
    18   levels NMTOKENS #IMPLIED
    13   span CDATA #IMPLIED>
    19   span CDATA #IMPLIED
    14  <!ELEMENT block (subblock*|collection*)*>
    20 >
    15  <!ATTLIST block
    21 
       
    22 <!ELEMENT block (subblock* | collection*)*>
       
    23  <!-- Generic OS services, Comms Services, etc -->
       
    24 <!ATTLIST block
    16   levels NMTOKENS #IMPLIED
    25   levels NMTOKENS #IMPLIED
    17   span CDATA #IMPLIED
    26   span CDATA #IMPLIED
    18   level NMTOKEN #IMPLIED
    27   level NMTOKEN #IMPLIED
    19   name CDATA #REQUIRED
    28   name CDATA #REQUIRED
    20   long-name CDATA #IMPLIED>
    29   long-name CDATA #IMPLIED
    21  <!ELEMENT subblock (collection)*>
    30 >
    22  <!ATTLIST subblock
    31 
    23   name CDATA #REQUIRED
    32 <!ELEMENT subblock (collection)*>
    24   long-name CDATA #IMPLIED>
    33 <!-- Cellular Baseband Services, Networking Services, etc -->
    25  <!ELEMENT collection (component)*>
    34 <!ATTLIST subblock
    26  <!ATTLIST collection
       
    27   name CDATA #REQUIRED
    35   name CDATA #REQUIRED
    28   long-name CDATA #IMPLIED
    36   long-name CDATA #IMPLIED
    29   level NMTOKEN #IMPLIED>
    37 >
    30  <!ELEMENT component (unit)*>
    38 
    31  <!ATTLIST component
    39 <!ELEMENT collection (component)*>
       
    40 <!-- Screen Driver, Content Handling, etc -->
       
    41 <!ATTLIST collection
       
    42   name CDATA #REQUIRED
       
    43   long-name CDATA #IMPLIED
       
    44   level NMTOKEN #IMPLIED
       
    45 >
       
    46 
       
    47 <!ELEMENT component (unit)*>
       
    48 <!-- contains units or is a  package or prebuilt -->
       
    49 <!ATTLIST component
    32   name CDATA #REQUIRED
    50   name CDATA #REQUIRED
    33   long-name CDATA #IMPLIED
    51   long-name CDATA #IMPLIED
    34   deprecated CDATA #IMPLIED
    52   deprecated CDATA #IMPLIED
    35   introduced CDATA #IMPLIED
    53   introduced CDATA #IMPLIED
    36   contract CDATA #IMPLIED
    54   contract CDATA #IMPLIED
    37   plugin (Y|N) 'N'
    55   plugin (Y|N) "N"
    38   filter CDATA #IMPLIED
    56   filter CDATA #IMPLIED
    39   class NMTOKENS #IMPLIED
    57   class NMTOKENS #IMPLIED
    40   supports CDATA #IMPLIED
    58   supports CDATA #IMPLIED
    41   purpose (optional|mandatory|development) 'optional'>
    59   purpose ( optional | mandatory | development ) "optional"
    42  <!ELEMENT unit EMPTY>
    60 >
    43  <!ATTLIST unit
    61 
       
    62 <!ELEMENT unit EMPTY >
       
    63 <!-- must be buildable (bld.inf) -->
       
    64 <!-- bldFile  may someday be removed in favour of mrp -->
       
    65 <!ATTLIST unit
    44   mrp CDATA #IMPLIED
    66   mrp CDATA #IMPLIED
    45   filter CDATA #IMPLIED
    67   filter CDATA #IMPLIED
    46   bldFile CDATA #IMPLIED
    68   bldFile CDATA #IMPLIED
    47   root CDATA #IMPLIED
    69   root CDATA #IMPLIED
    48   version NMTOKEN #IMPLIED
    70   version NMTOKEN #IMPLIED
    49   prebuilt NMTOKEN #IMPLIED
    71   prebuilt NMTOKEN #IMPLIED
    50   late (Y|N) #IMPLIED
    72   late (Y|N) #IMPLIED
    51   priority CDATA #IMPLIED>
    73   priority CDATA #IMPLIED
    52  <!ELEMENT SystemBuild (option*|target+|targetList+|list+|configuration+)*>
    74 >
    53  <!ATTLIST SystemBuild schema CDATA #REQUIRED>
       
    54  <!ELEMENT list (ref+)>
       
    55  <!ATTLIST list
       
    56   name ID #REQUIRED
       
    57   description CDATA #REQUIRED>
       
    58  <!ELEMENT ref EMPTY>
       
    59  <!ATTLIST ref item CDATA #REQUIRED>
       
    60  <!ELEMENT targetList EMPTY>
       
    61  <!ATTLIST targetList
       
    62   name ID #REQUIRED
       
    63   description CDATA #REQUIRED
       
    64   target IDREFS #REQUIRED>
       
    65  <!ELEMENT target EMPTY>
       
    66  <!ATTLIST target
       
    67   name ID #REQUIRED
       
    68   abldTarget CDATA #REQUIRED
       
    69   description CDATA #REQUIRED>
       
    70  <!ELEMENT option EMPTY>
       
    71  <!ATTLIST option
       
    72   name ID #REQUIRED
       
    73   abldOption CDATA #REQUIRED
       
    74   description CDATA #REQUIRED
       
    75   enable (Y|N) #REQUIRED>
       
    76  <!ELEMENT configuration (listRef+|ref+|task+)*>
       
    77  <!ATTLIST configuration
       
    78   name ID #REQUIRED
       
    79   description CDATA #REQUIRED
       
    80   filter CDATA #REQUIRED>
       
    81  <!ELEMENT task (listRef*,(buildLayer|specialInstructions))>
       
    82  <!ELEMENT listRef EMPTY>
       
    83  <!ATTLIST listRef list CDATA #REQUIRED>
       
    84  <!ELEMENT buildLayer EMPTY>
       
    85  <!ATTLIST buildLayer
       
    86   command CDATA #REQUIRED
       
    87   targetList IDREFS #IMPLIED
       
    88   unitParallel (Y|N) #REQUIRED
       
    89   targetParallel (Y|N) 'N'>
       
    90  <!ELEMENT specialInstructions EMPTY>
       
    91  <!ATTLIST specialInstructions
       
    92   name CDATA #REQUIRED
       
    93   cwd CDATA #REQUIRED
       
    94   root CDATA #IMPLIED
       
    95   command CDATA #REQUIRED>
       
    96 ]>
    75 ]>
    97 <SystemDefinition schema="2.0.1" name="Symbian^3">
    76 <SystemDefinition name="Symbian^3" schema="2.0.1">
    98 <systemModel>
    77   <systemModel>
    99 <layer name="app" long-name="Applications" levels="services apps">
    78     <layer name="app" long-name="Applications" levels="services apps">
   100 <block name="speechsrv" level="services" long-name="Speech Recognition UIs">
    79       <block name="speechsrv" level="services" long-name="Speech Recognition UIs" levels="engine framework ui">
   101 <collection name="s60">
    80         <collection name="voiceui" long-name="Voice UI" level="ui">
   102 <component name="speechsrv">
    81           <component name="vcommand" filter="s60" long-name="Voice Commands UI" introduced="^1">
   103 <unit bldFile="/sf/app/speechsrv/group" mrp=""/>
    82             <unit bldFile="/sf/app/speechsrv/voiceui/vcommand/group"/>
   104 </component>
    83           </component>
   105 </collection>
    84           <component name="voiceuivoicerecognition" filter="s60" long-name="Voice UI Recognition" introduced="^1">
   106 </block>
    85             <unit bldFile="/sf/app/speechsrv/voiceui/voiceuivoicerecognition/group"/>
   107 </layer>
    86           </component>
   108 </systemModel>
    87           <component name="pbkinfoviewimpl" filter="s60" long-name="Phonebook Info View Implementation" introduced="^1">
       
    88             <unit bldFile="/sf/app/speechsrv/voiceui/pbkinfoviewimpl/group"/>
       
    89           </component>
       
    90           <component name="aiwpbkinfoviewprovider" filter="s60" long-name="AIW Phonebook Info View Provider" introduced="^1" plugin="Y">
       
    91             <unit bldFile="/sf/app/speechsrv/voiceui/aiwpbkinfoviewprovider/group"/>
       
    92           </component>
       
    93           <component name="vccontrolpanelplugin" filter="s60" long-name="Voice Commands Control Panel Plugin" introduced="^1" plugin="Y">
       
    94             <unit bldFile="/sf/app/speechsrv/voiceui/vccontrolpanelplugin/group"/>
       
    95           </component>
       
    96           <component name="voiceui_build" filter="s60" long-name="Voice UI Build" introduced="^1">
       
    97             <!--  can this be put into the other components? -->
       
    98             <unit bldFile="/sf/app/speechsrv/voiceui/group"/>
       
    99           </component>
       
   100         </collection>
       
   101         <collection name="srsf" long-name="Speech Recognition and Synthesis Framework" level="framework">
       
   102           <component name="sispeechrecognitiondata" filter="s60" long-name="SI Speech Recognition Data">
       
   103             <unit bldFile="/sf/app/speechsrv/srsf/sispeechrecognitiondata/group"/>
       
   104           </component>
       
   105           <component name="ttscommon" filter="s60" long-name="TTS Common">
       
   106             <unit bldFile="/sf/app/speechsrv/srsf/ttscommon/group"/>
       
   107           </component>
       
   108           <component name="devtts" filter="s60" long-name="Text to Speech">
       
   109             <unit bldFile="/sf/app/speechsrv/srsf/devtts/group"/>
       
   110           </component>
       
   111           <component name="ttscustomcommands" filter="s60" long-name="TTS Custom Commands">
       
   112             <unit bldFile="/sf/app/speechsrv/srsf/ttscustomcommands/group"/>
       
   113           </component>
       
   114           <component name="ttscontrollerplugin" filter="s60" long-name="TTS Controller Plugin" plugin="Y">
       
   115             <unit bldFile="/sf/app/speechsrv/srsf/ttscontrollerplugin/group"/>
       
   116           </component>
       
   117           <component name="ttsutility" filter="s60" long-name="TTS Utility">
       
   118             <unit bldFile="/sf/app/speechsrv/srsf/ttsutility/group"/>
       
   119           </component>
       
   120           <component name="speechsynthesis" filter="s60" long-name="Speech Synthesis">
       
   121             <!-- can only have one unit. #include these from a common bld.inf -->
       
   122             <unit bldFile="/sf/app/speechsrv/srsf/speechsynthesis/client/group"/>
       
   123             <unit bldFile="/sf/app/speechsrv/srsf/speechsynthesis/server/group"/>
       
   124           </component>
       
   125           <component name="devasr" filter="s60" long-name="Audio Recording and Speech Recognition">
       
   126             <unit bldFile="/sf/app/speechsrv/srsf/devasr/group"/>
       
   127           </component>
       
   128           <component name="sicc" filter="s60" long-name="Speaker Independent Custom Commands">
       
   129             <unit bldFile="/sf/app/speechsrv/srsf/sicc/group"/>
       
   130           </component>
       
   131           <component name="sisrscontrollerplugin" filter="s60" long-name="SI SRS Controller Plugin" plugin="Y">
       
   132             <unit bldFile="/sf/app/speechsrv/srsf/sisrscontrollerplugin/group"/>
       
   133           </component>
       
   134           <component name="siutility" filter="s60" long-name="Speaker Independent Utility">
       
   135             <unit bldFile="/sf/app/speechsrv/srsf/siutility/group"/>
       
   136           </component>
       
   137           <component name="nssvasapi" filter="s60" long-name="NSS VAS API">
       
   138             <unit bldFile="/sf/app/speechsrv/srsf/nssvasapi/group"/>
       
   139           </component>
       
   140           <component name="nssvascontacthdlr" filter="s60" long-name="NSS VAS Contact Handler">
       
   141             <unit bldFile="/sf/app/speechsrv/srsf/nssvascontacthdlr/group"/>
       
   142           </component>
       
   143           <component name="vcommandhandler" filter="s60" long-name="Voice Command Handler">
       
   144             <unit bldFile="/sf/app/speechsrv/srsf/vcommandhandler/group"/>
       
   145           </component>
       
   146           <component name="vuiphandler" filter="s60" long-name="Voice UI Plugin Handler">
       
   147             <unit bldFile="/sf/app/speechsrv/srsf/vuiphandler/group"/>
       
   148           </component>
       
   149           <component name="vcommandexecutor" filter="s60" long-name="Voice Command Executor">
       
   150             <unit bldFile="/sf/app/speechsrv/srsf/vcommandexecutor/group"/>
       
   151           </component>
       
   152           <component name="vcommandexecutorbearer" filter="s60" long-name="Voice Command Executor Bearer">
       
   153             <unit bldFile="/sf/app/speechsrv/srsf/vcommandexecutorbearer/group"/>
       
   154           </component>
       
   155           <component name="vcommandmanager" filter="s60" long-name="Voice Command Manager">
       
   156             <unit bldFile="/sf/app/speechsrv/srsf/vcommandmanager/group"/>
       
   157           </component>
       
   158           <component name="vcexecutorapp" filter="s60" long-name="Voice Command Executor Application">
       
   159             <unit bldFile="/sf/app/speechsrv/srsf/vcexecutorapp/group"/>
       
   160           </component>
       
   161           <component name="profileobserverplugin" filter="s60" long-name="Profile Observer Plugin" plugin="Y">
       
   162             <unit bldFile="/sf/app/speechsrv/srsf/profileobserverplugin/group"/>
       
   163           </component>
       
   164           <component name="srsf_build" filter="s60" long-name="Speech Recognition and Synthesis Framework Build">
       
   165             <!-- should distribute this into the above components -->
       
   166             <unit bldFile="/sf/app/speechsrv/srsf/group"/>
       
   167           </component>
       
   168         </collection>
       
   169         <collection name="speechsrv_info" long-name="Speech Recognition UIs Info" level="ui">
       
   170           <component name="speechsrv_test" filter="s60,test" purpose="development" long-name="Speech Recognition UIs Test">
       
   171             <unit bldFile="/sf/app/speechsrv/tsrc/group"/>
       
   172           </component>
       
   173           <component name="speechsrv_plat" filter="s60" long-name="Speech Recognition UIs Platform Interfaces" class="api">
       
   174             <unit bldFile="/sf/app/speechsrv/speechsrv_plat/group"/>
       
   175           </component>
       
   176         </collection>
       
   177       </block>
       
   178     </layer>
       
   179   </systemModel>
   109 </SystemDefinition>
   180 </SystemDefinition>