<configure xmlns="http://namespaces.zope.org/zope">

  <permission 
      id="zope.app.dublincore.view" 
      title="[zope.app.dublincore.view-permission] 
             View Dublin-Core Meta Data "
      />

  <permission 
      id="zope.app.dublincore.change" 
      title="[zope.app.dublincore.change-permission] 
             Change Dublin-Core Meta Data "
      />

  <adapter
      factory=".annotatableadapter.ZDCAnnotatableAdapter"
      provides="zope.app.dublincore.interfaces.IWriteZopeDublinCore"
      for="zope.app.annotation.interfaces.IAnnotatable"
      trusted="true"
      />

  <class class=".annotatableadapter.ZDCAnnotatableAdapter">
    <require
        permission="zope.app.dublincore.view"
        interface=".interfaces.IZopeDublinCore"
        />
    <require
        permission="zope.app.dublincore.change"
        interface=".interfaces.IWritableGeneralDublinCore"
        set_schema=".interfaces.IZopeDublinCore"
        />
  </class>

  <subscriber
      handler=".timeannotators.ModifiedAnnotator"
      for="zope.app.event.interfaces.IObjectModifiedEvent"
      />

  <subscriber
      handler=".timeannotators.CreatedAnnotator"
      for="zope.app.event.interfaces.IObjectCreatedEvent"
      />

  <subscriber
      handler=".creatorannotator.CreatorAnnotator"
      for="zope.app.event.interfaces.IObjectModifiedEvent"
      />

  <subscriber
      handler=".creatorannotator.CreatorAnnotator"
      for="zope.app.event.interfaces.IObjectCreatedEvent"
      />


  <!-- Include browser package -->

  <include package=".browser" />

</configure>
