symbian4/mw/serviceapi/package_definition.xml
branchHighFidelityModel
changeset 246 f99f9ea9b39f
parent 150 8d58b930d36e
child 316 079a06b9ec58
equal deleted inserted replaced
245:30e67220bf86 246:f99f9ea9b39f
     1 <?xml version="1.0" encoding="UTF-8"?>
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <!DOCTYPE SystemDefinition [
     2 <SystemDefinition schema="3.0.0">
     3 <!ELEMENT SystemDefinition ( systemModel )>
     3   <package id="serviceapi" name="Service API" levels="os mw1 mw2 app">
     4 <!ATTLIST SystemDefinition
     4   	<!-- should break up this collection into something meaningful -->
     5   name CDATA #REQUIRED
     5     <collection id="serviceproviders" name="Service Providers" level="mw1">
     6   schema CDATA #REQUIRED
     6       <component id="sapi_contacts_vpbk" name="Contacts Phonebook SAPI"  filter="s60" class="plugin">
     7 >
     7         <unit bldFile="serviceproviders/sapi_contacts_vpbk/group"/>
     8 <!-- all paths are relative to the environment variable specified by the root attribute, or SOURCEROOT if not.  -->
     8       </component>
       
     9       <component id="sapi_location" name="Location SAPI"  filter="s60" class="plugin">
       
    10         <unit bldFile="serviceproviders/sapi_location/group"/>
       
    11       </component>
       
    12       <component id="sapi_mediamanagement" name="Media Management SAPI" filter="s60" class="plugin">
       
    13         <unit bldFile="serviceproviders/sapi_mediamanagement/group"/>
       
    14       </component>
       
    15       <component id="sapi_landmarks" name="Landmarks SAPI" filter="s60" class="plugin">
       
    16         <unit bldFile="serviceproviders/sapi_landmarks/group"/>
       
    17       </component>
       
    18       <component id="sapi_messaging" name="Messaging SAPI" filter="s60" class="plugin">
       
    19         <unit bldFile="serviceproviders/sapi_messaging/group"/>
       
    20       </component>
     9 
    21 
    10 <!-- System Model Section of DTD -->
    22       <component id="sapi_applicationmanager" name="Application Manager SAPI" filter="s60" class="plugin">
    11 <!ELEMENT systemModel (layer+)>
    23         <unit bldFile="serviceproviders/sapi_applicationmanager/group"/>
    12 
    24       </component>
    13 <!ELEMENT layer (block* | collection*)*>
    25       <component id="sapi_calendar" name="Calendar SAPI" filter="s60" class="plugin">
    14 <!-- Kernel Services, Base Services, OS Services, Etc -->
    26         <unit bldFile="serviceproviders/sapi_calendar/group"/>
    15 <!ATTLIST layer
    27       </component>
    16   name CDATA #REQUIRED
    28       <component id="sapi_logging" name="Logging SAPI"  filter="s60" class="plugin">
    17   long-name CDATA #IMPLIED
    29         <unit bldFile="serviceproviders/sapi_logging/group"/>
    18   levels NMTOKENS #IMPLIED
    30       </component>
    19   span CDATA #IMPLIED
    31       <component id="sapi_sensor" name="Sensor SAPI" filter="s60" class="plugin">
    20 >
    32         <unit bldFile="serviceproviders/sapi_sensor/group"/>
    21 
    33       </component>
    22 <!ELEMENT block (subblock* | collection*)*>
    34       <component id="sapi_sysinfo" name="Sysinfo SAPI" filter="s60" class="plugin">
    23  <!-- Generic OS services, Comms Services, etc -->
    35         <unit bldFile="serviceproviders/sapi_sysinfo/group"/>
    24 <!ATTLIST block
    36       </component>
    25   levels NMTOKENS #IMPLIED
    37       <component id="sapi_serviceregistry" name="Service Registry SAPI" filter="s60" class="plugin">
    26   span CDATA #IMPLIED
    38         <unit bldFile="serviceproviders/sapi_serviceregistry/group"/>
    27   level NMTOKEN #IMPLIED
    39       </component>
    28   name CDATA #REQUIRED
    40       <component id="jsapi" name="Javascript API" filter="s60" class="plugin">
    29   long-name CDATA #IMPLIED
    41         <unit bldFile="serviceproviders/jsapi/group"/>
    30 >
    42       </component>
    31 
    43       <component id="serviceproviders_build" filter="s60" name="Service API Build">
    32 <!ELEMENT subblock (collection)*>
    44       	<!--  distribute the exports or make this a ROM component by removing the #includes -->
    33 <!-- Cellular Baseband Services, Networking Services, etc -->
    45         <unit bldFile="serviceproviders/group"/>
    34 <!ATTLIST subblock
    46       </component>
    35   name CDATA #REQUIRED
    47     </collection>
    36   long-name CDATA #IMPLIED
    48   </package>
    37 >
       
    38 
       
    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
       
    50   name CDATA #REQUIRED
       
    51   long-name CDATA #IMPLIED
       
    52   deprecated CDATA #IMPLIED
       
    53   introduced CDATA #IMPLIED
       
    54   contract CDATA #IMPLIED
       
    55   plugin (Y|N) "N"
       
    56   filter CDATA #IMPLIED
       
    57   class NMTOKENS #IMPLIED
       
    58   supports CDATA #IMPLIED
       
    59   purpose ( optional | mandatory | development ) "optional"
       
    60 >
       
    61 
       
    62 <!ELEMENT unit EMPTY >
       
    63 <!-- must be buildable (bld.inf) -->
       
    64 <!-- bldFile  may someday be removed in favour of mrp -->
       
    65 <!ATTLIST unit
       
    66   mrp CDATA #IMPLIED
       
    67   filter CDATA #IMPLIED
       
    68   bldFile CDATA #IMPLIED
       
    69   root CDATA #IMPLIED
       
    70   version NMTOKEN #IMPLIED
       
    71   prebuilt NMTOKEN #IMPLIED
       
    72   late (Y|N) #IMPLIED
       
    73   priority CDATA #IMPLIED
       
    74 >
       
    75 ]>
       
    76 <SystemDefinition name="Symbian^4" schema="2.0.1">
       
    77   <systemModel>
       
    78     <layer name="mw" long-name="Middleware" levels="generic specific">
       
    79       <block name="serviceapi" level="specific" long-name="Service API" levels="os mw1 mw2 app">
       
    80         <!-- should break up this collection into something meaningful -->
       
    81         <collection name="serviceproviders" long-name="Service Providers" level="mw1">
       
    82           <component name="sapi_contacts_vpbk" long-name="Contacts Phonebook SAPI" filter="s60" plugin="Y">
       
    83             <unit bldFile="/sf/mw/serviceapi/serviceproviders/sapi_contacts_vpbk/group"/>
       
    84           </component>
       
    85           <component name="sapi_location" long-name="Location SAPI" filter="s60" plugin="Y">
       
    86             <unit bldFile="/sf/mw/serviceapi/serviceproviders/sapi_location/group"/>
       
    87           </component>
       
    88           <component name="sapi_mediamanagement" long-name="Media Management SAPI" filter="s60" plugin="Y">
       
    89             <unit bldFile="/sf/mw/serviceapi/serviceproviders/sapi_mediamanagement/group"/>
       
    90           </component>
       
    91           <component name="sapi_landmarks" long-name="Landmarks SAPI" filter="s60" plugin="Y">
       
    92             <unit bldFile="/sf/mw/serviceapi/serviceproviders/sapi_landmarks/group"/>
       
    93           </component>
       
    94           <component name="sapi_messaging" long-name="Messaging SAPI" filter="s60" plugin="Y">
       
    95             <unit bldFile="/sf/mw/serviceapi/serviceproviders/sapi_messaging/group"/>
       
    96           </component>
       
    97           <component name="sapi_applicationmanager" long-name="Application Manager SAPI" filter="s60" plugin="Y">
       
    98             <unit bldFile="/sf/mw/serviceapi/serviceproviders/sapi_applicationmanager/group"/>
       
    99           </component>
       
   100           <component name="sapi_calendar" long-name="Calendar SAPI" filter="s60" plugin="Y">
       
   101             <unit bldFile="/sf/mw/serviceapi/serviceproviders/sapi_calendar/group"/>
       
   102           </component>
       
   103           <component name="sapi_logging" long-name="Logging SAPI" filter="s60" plugin="Y">
       
   104             <unit bldFile="/sf/mw/serviceapi/serviceproviders/sapi_logging/group"/>
       
   105           </component>
       
   106           <component name="sapi_sensor" long-name="Sensor SAPI" filter="s60" plugin="Y">
       
   107             <unit bldFile="/sf/mw/serviceapi/serviceproviders/sapi_sensor/group"/>
       
   108           </component>
       
   109           <component name="sapi_sysinfo" long-name="Sysinfo SAPI" filter="s60" plugin="Y">
       
   110             <unit bldFile="/sf/mw/serviceapi/serviceproviders/sapi_sysinfo/group"/>
       
   111           </component>
       
   112           <component name="sapi_serviceregistry" long-name="Service Registry SAPI" filter="s60" plugin="Y">
       
   113             <unit bldFile="/sf/mw/serviceapi/serviceproviders/sapi_serviceregistry/group"/>
       
   114           </component>
       
   115           <component name="jsapi" long-name="Javascript API" filter="s60" plugin="Y">
       
   116             <unit bldFile="/sf/mw/serviceapi/serviceproviders/jsapi/group"/>
       
   117           </component>
       
   118           <component name="serviceproviders_build" filter="s60" long-name="Service API Build">
       
   119             <!--  distribute the exports or make this a ROM component by removing the #includes -->
       
   120             <unit bldFile="/sf/mw/serviceapi/serviceproviders/group"/>
       
   121           </component>
       
   122         </collection>
       
   123       </block>
       
   124     </layer>
       
   125   </systemModel>
       
   126 </SystemDefinition>
    49 </SystemDefinition>