symbian3/app/imgeditor/package_definition.xml
branchHighFidelityModel
changeset 42 82a6c2dffce1
parent 30 0f4f00318d20
child 63 d7aa110911c4
--- a/symbian3/app/imgeditor/package_definition.xml	Fri Jan 29 11:54:00 2010 +0000
+++ b/symbian3/app/imgeditor/package_definition.xml	Fri Jan 29 14:35:06 2010 +0000
@@ -1,103 +1,179 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE SystemDefinition [
- <!ELEMENT SystemDefinition (systemModel?,SystemBuild?)>
- <!ATTLIST SystemDefinition
-  name CDATA #REQUIRED
-  schema CDATA #REQUIRED>
- <!ELEMENT systemModel (layer+)>
- <!ELEMENT layer (block*|collection*)*>
- <!ATTLIST layer
-  name CDATA #REQUIRED
-  long-name CDATA #IMPLIED
-  levels NMTOKENS #IMPLIED
-  span CDATA #IMPLIED>
- <!ELEMENT block (subblock*|collection*)*>
- <!ATTLIST block
-  levels NMTOKENS #IMPLIED
-  span CDATA #IMPLIED
-  level NMTOKEN #IMPLIED
-  name CDATA #REQUIRED
-  long-name CDATA #IMPLIED>
- <!ELEMENT subblock (collection)*>
- <!ATTLIST subblock
-  name CDATA #REQUIRED
-  long-name CDATA #IMPLIED>
- <!ELEMENT collection (component)*>
- <!ATTLIST collection
-  name CDATA #REQUIRED
-  long-name CDATA #IMPLIED
-  level NMTOKEN #IMPLIED>
- <!ELEMENT component (unit)*>
- <!ATTLIST component
-  name CDATA #REQUIRED
-  long-name CDATA #IMPLIED
-  deprecated CDATA #IMPLIED
-  introduced CDATA #IMPLIED
-  contract CDATA #IMPLIED
-  plugin (Y|N) 'N'
-  filter CDATA #IMPLIED
-  class NMTOKENS #IMPLIED
-  supports CDATA #IMPLIED
-  purpose (optional|mandatory|development) 'optional'>
- <!ELEMENT unit EMPTY>
- <!ATTLIST unit
-  mrp CDATA #IMPLIED
-  filter CDATA #IMPLIED
-  bldFile CDATA #IMPLIED
-  root CDATA #IMPLIED
-  version NMTOKEN #IMPLIED
-  prebuilt NMTOKEN #IMPLIED
-  late (Y|N) #IMPLIED
-  priority CDATA #IMPLIED>
- <!ELEMENT SystemBuild (option*|target+|targetList+|list+|configuration+)*>
- <!ATTLIST SystemBuild schema CDATA #REQUIRED>
- <!ELEMENT list (ref+)>
- <!ATTLIST list
-  name ID #REQUIRED
-  description CDATA #REQUIRED>
- <!ELEMENT ref EMPTY>
- <!ATTLIST ref item CDATA #REQUIRED>
- <!ELEMENT targetList EMPTY>
- <!ATTLIST targetList
-  name ID #REQUIRED
-  description CDATA #REQUIRED
-  target IDREFS #REQUIRED>
- <!ELEMENT target EMPTY>
- <!ATTLIST target
-  name ID #REQUIRED
-  abldTarget CDATA #REQUIRED
-  description CDATA #REQUIRED>
- <!ELEMENT option EMPTY>
- <!ATTLIST option
-  name ID #REQUIRED
-  abldOption CDATA #REQUIRED
-  description CDATA #REQUIRED
-  enable (Y|N) #REQUIRED>
- <!ELEMENT configuration (listRef+|ref+|task+)*>
- <!ATTLIST configuration
-  name ID #REQUIRED
-  description CDATA #REQUIRED
-  filter CDATA #REQUIRED>
- <!ELEMENT task (listRef*,(buildLayer|specialInstructions))>
- <!ELEMENT listRef EMPTY>
- <!ATTLIST listRef list CDATA #REQUIRED>
- <!ELEMENT buildLayer EMPTY>
- <!ATTLIST buildLayer
-  command CDATA #REQUIRED
-  targetList IDREFS #IMPLIED
-  unitParallel (Y|N) #REQUIRED
-  targetParallel (Y|N) 'N'>
- <!ELEMENT specialInstructions EMPTY>
- <!ATTLIST specialInstructions
-  name CDATA #REQUIRED
-  cwd CDATA #REQUIRED
-  root CDATA #IMPLIED
-  command CDATA #REQUIRED>
-]>
-<SystemDefinition schema="2.0.1" name="Symbian^3">
-<systemModel>
-<layer name="app" long-name="Applications" levels="services apps">
-<block name="imgeditor" level="apps" long-name="Image Editor Apps"/>
-</layer>
-</systemModel>
-</SystemDefinition>
\ No newline at end of file
+<!DOCTYPE SystemDefinition [
+<!ELEMENT SystemDefinition ( systemModel )>
+<!ATTLIST SystemDefinition
+  name CDATA #REQUIRED
+  schema CDATA #REQUIRED
+>
+<!-- all paths are relative to the environment variable specified by the root attribute, or SOURCEROOT if not.  -->
+
+<!-- System Model Section of DTD -->
+<!ELEMENT systemModel (layer+)>
+
+<!ELEMENT layer (block* | collection*)*>
+<!-- Kernel Services, Base Services, OS Services, Etc -->
+<!ATTLIST layer
+  name CDATA #REQUIRED
+  long-name CDATA #IMPLIED
+  levels NMTOKENS #IMPLIED
+  span CDATA #IMPLIED
+>
+
+<!ELEMENT block (subblock* | collection*)*>
+ <!-- Generic OS services, Comms Services, etc -->
+<!ATTLIST block
+  levels NMTOKENS #IMPLIED
+  span CDATA #IMPLIED
+  level NMTOKEN #IMPLIED
+  name CDATA #REQUIRED
+  long-name CDATA #IMPLIED
+>
+
+<!ELEMENT subblock (collection)*>
+<!-- Cellular Baseband Services, Networking Services, etc -->
+<!ATTLIST subblock
+  name CDATA #REQUIRED
+  long-name CDATA #IMPLIED
+>
+
+<!ELEMENT collection (component)*>
+<!-- Screen Driver, Content Handling, etc -->
+<!ATTLIST collection
+  name CDATA #REQUIRED
+  long-name CDATA #IMPLIED
+  level NMTOKEN #IMPLIED
+>
+
+<!ELEMENT component (unit)*>
+<!-- contains units or is a  package or prebuilt -->
+<!ATTLIST component
+  name CDATA #REQUIRED
+  long-name CDATA #IMPLIED
+  deprecated CDATA #IMPLIED
+  introduced CDATA #IMPLIED
+  contract CDATA #IMPLIED
+  plugin (Y|N) "N"
+  filter CDATA #IMPLIED
+  class NMTOKENS #IMPLIED
+  supports CDATA #IMPLIED
+  purpose ( optional | mandatory | development ) "optional"
+>
+
+<!ELEMENT unit EMPTY >
+<!-- must be buildable (bld.inf) -->
+<!-- bldFile  may someday be removed in favour of mrp -->
+<!ATTLIST unit
+  mrp CDATA #IMPLIED
+  filter CDATA #IMPLIED
+  bldFile CDATA #IMPLIED
+  root CDATA #IMPLIED
+  version NMTOKEN #IMPLIED
+  prebuilt NMTOKEN #IMPLIED
+  late (Y|N) #IMPLIED
+  priority CDATA #IMPLIED
+>
+]>
+<SystemDefinition name="Symbian^3" schema="2.0.1">
+  <systemModel>
+    <layer name="app" long-name="Applications" levels="services apps">
+      <block name="imgeditor" level="apps" long-name="Image Editor Apps" levels="engine ui">
+        <collection name="imageeditor" long-name="Image Editor UI" level="ui">
+          <component name="pb" filter="s60" long-name="Plugin Base">
+            <unit bldFile="/sf/app/imgeditor/imageeditor/pb/group"/>
+          </component>
+          <component name="iepb" filter="s60" long-name="Image Editor Plugin Base">
+            <unit bldFile="/sf/app/imgeditor/imageeditor/iepb/group"/>
+          </component>
+          <component name="imageeditorui" filter="s60" long-name="Image Editor UI">
+            <unit bldFile="/sf/app/imgeditor/imageeditor/imageeditorui/group"/>
+          </component>
+          <component name="imageeditormanager" filter="s60" long-name="Image Editor Manager">
+            <unit bldFile="/sf/app/imgeditor/imageeditor/imageeditormanager/group"/>
+          </component>
+          <component name="imageeditorapp" filter="s60" long-name="Image Editor Application">
+            <unit bldFile="/sf/app/imgeditor/imageeditor/imageeditorapp/group"/>
+          </component>
+          <component name="imageeditor_plugins" filter="s60" long-name="Image Editor Plugins" plugin="Y">
+            <!-- can only have one unit. Need to include all from a single bld.inf -->
+            <unit bldFile="/sf/app/imgeditor/imageeditor/plugins/blackwhiteplugin/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditor/plugins/brightnessplugin/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditor/plugins/bubbleplugin/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditor/plugins/cartoonizeplugin/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditor/plugins/clipartplugin/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditor/plugins/contrastplugin/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditor/plugins/cropplugin/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditor/plugins/drawplugin/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditor/plugins/frameplugin/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditor/plugins/negativeplugin/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditor/plugins/redeyeplugin/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditor/plugins/resizeplugin/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditor/plugins/rotatelplugin/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditor/plugins/rotaterplugin/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditor/plugins/sepiaplugin/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditor/plugins/sharpnessplugin/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditor/plugins/textplugin/group"/>
+            <!-- conditionally #included in imageeditor_build: need to fix
+        <unit bldFile="imageeditor/plugins/drawplugin/group"/>
+         -->
+          </component>
+          <component name="editorprovider" filter="s60" long-name="Image Editor Provider">
+            <unit bldFile="/sf/app/imgeditor/imageeditor/editorprovider/group"/>
+          </component>
+          <component name="imageeditor_build" filter="s60" long-name="Image Editor Build">
+            <!-- should distribute this to the other components -->
+            <unit bldFile="/sf/app/imgeditor/imageeditor/group"/>
+          </component>
+        </collection>
+        <collection name="imageeditorengine" long-name="Image Editor Engine" level="engine">
+          <component name="filters" filter="s60" long-name="Image Editor Filters">
+            <!-- can only have one unit. Need to include all from a single bld.inf -->
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/filters/filterbrightness/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/filters/filterbubble/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/filters/filterbuffer/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/filters/filtercartoon/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/filters/filterclipart/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/filters/filtercontrast/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/filters/filtercrop/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/filters/filterdraw/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/filters/filterframe/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/filters/filtergrayscale/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/filters/filtericlsource/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/filters/filterjpegsource/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/filters/filterjpegtarget/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/filters/filternegate/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/filters/filterredeye/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/filters/filterrotate/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/filters/filterscale/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/filters/filtersepia/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/filters/filtersharpness/group"/>
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/filters/filtertext/group"/>
+            <!-- conditionally #included in imageeditor_build: need to fix
+        <unit bldFile="imageeditorengine/filters/filterdraw/group"/>
+         -->
+          </component>
+          <component name="imageeditorutils" filter="s60" long-name="Image Editor Utilities">
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/imageeditorutils/group"/>
+          </component>
+          <component name="systemparameters" filter="s60" long-name="System Parameters">
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/systemparameters/group"/>
+          </component>
+          <component name="enginewrapper" filter="s60" long-name="Image Editor Engine Wrapper">
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/enginewrapper/group"/>
+          </component>
+          <component name="imageeditorengine_build" filter="s60" long-name="Image Editor Engine Build">
+            <!-- should distribute this to the other components -->
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/group"/>
+          </component>
+          <component name="imgeditor_api_tests" filter="s60,api_test" long-name="Image Editor Engine API Tests" purpose="development">
+            <unit bldFile="/sf/app/imgeditor/imageeditorengine/tsrc/public/basic/group"/>
+          </component>
+        </collection>
+        <collection name="imgeditor_info" long-name="Image Editor Apps Info" level="ui">
+          <component name="imgeditor_plat" filter="s60" long-name="Image Editor Apps Platform Interfaces" class="api">
+            <unit bldFile="/sf/app/imgeditor/imgeditor_plat/group"/>
+          </component>
+        </collection>
+      </block>
+    </layer>
+  </systemModel>
+</SystemDefinition>