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

  <include package="ploneintranet.layout" />
  <include package="ploneintranet.notifications" />

  <permission
      id="ploneintranet.messaging.usemessaging"
      title="Plone Intranet: Use Messaging"
      />

  <include package=".browser" />
  <include package=".notifications" />
  <include package=".subscribers" />

  <utility
      factory=".messaging.MessagingLocator"
      provides="ploneintranet.messaging.interfaces.IMessagingLocator"
      />

  <genericsetup:registerProfile
      name="default"
      title="Plone Intranet: -- [Messaging]"
      description="Installs the ploneintranet.messaging package"
      provides="Products.GenericSetup.interfaces.EXTENSION"
      directory="profiles/default"
      />

  <genericsetup:registerProfile
      name="uninstall"
      title="Plone Intranet: -- [Messaging uninstall]"
      description="Uninstalls the ploneintranet.messaging package"
      provides="Products.GenericSetup.interfaces.EXTENSION"
      directory="profiles/uninstall"
      />

</configure>
