From c9e5b4545ee1a9ed38bb45abafb54881c1656431 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 27 Apr 2006 07:39:38 +0000 Subject: [PATCH] Added mime definitions for applications git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3142 594d385d-05f5-0310-b6e9-bd551577e9d8 --- contrib/openldap/goto-mime.schema | 60 +++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 contrib/openldap/goto-mime.schema diff --git a/contrib/openldap/goto-mime.schema b/contrib/openldap/goto-mime.schema new file mode 100644 index 000000000..c5e3f330b --- /dev/null +++ b/contrib/openldap/goto-mime.schema @@ -0,0 +1,60 @@ +## +## goto-mime.schema - Needed by the GONICUS Terminal concept +## +## Maintainer: Cajus Pollmeier (pollmeier@GONICUS.de) +## + +# Basic list of mime groups: +# application audio chemical image inode message model multipart +# text video x-conference x-world +attributetype ( 1.3.6.1.4.1.10098.1.1.14.1 NAME 'gotoMimeGroup' + DESC 'IANA defined mime group' + EQUALITY caseIgnoreIA5Match + SUBSTR caseIgnoreIA5SubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE) + +# File extensions without search patterns. i.e. png, jpg, xcf +attributetype ( 1.3.6.1.4.1.10098.1.1.14.2 NAME 'gotoMimeFilePattern' + DESC 'File extensions for mime types' + EQUALITY caseIgnoreIA5Match + SUBSTR caseIgnoreIA5SubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) + +# Coded application and priority seperated by |. i.e. /usr/bin/gimp|1 +attributetype ( 1.3.6.1.4.1.10098.1.1.14.3 NAME 'gotoMimeApplication' + DESC 'Assigned application and priority' + EQUALITY caseIgnoreIA5Match + SUBSTR caseIgnoreIA5SubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) + +# Coded application and priority seperated by |. i.e. /usr/bin/gimp|1 +attributetype ( 1.3.6.1.4.1.10098.1.1.14.4 NAME 'gotoMimeEmbeddedApplication' + DESC 'Assigned application and priority for embedded applications' + EQUALITY caseIgnoreIA5Match + SUBSTR caseIgnoreIA5SubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26) + +# Encoded left click action for filebrowsers, etc. This can be either: +# I: show in embedded viewer +# E: show in external viewer +# O: take settings from global mime group +# These fields are taken as OR. Additionally you can add a +# Q: to ask wether a question should pop up - to save it to +# the local disc or not. +attributetype ( 1.3.6.1.4.1.10098.1.1.14.5 NAME 'gotoMimeLeftClickAction' + DESC 'GOto - Gonicus Terminal Concept, PPD data' + EQUALITY caseIgnoreIA5Match + SUBSTR caseIgnoreIA5SubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE) + +# Save binary png icon here +attributetype ( 1.3.6.1.4.1.10098.1.1.14.6 NAME 'gotoMimeIcon' + DESC 'Specify the mime icon' + SYNTAX 1.3.6.1.4.1.1466.115.121.1.28 SINGLE-VALUE) + +objectclass (1.3.6.1.4.1.10098.1.2.4.1 NAME 'gotoMimeType' + DESC 'Class to represent global mime types (v2.5)' SUP top STRUCTURAL + MUST ( cn $ gotoMimeFilePattern $ gotoMimeGroup ) + MAY ( description $ gotoMimeIcon $ gotoMimeApplication $ + gotoMimeEmbeddedApplication $ gotoMimeLeftClickAction )) + -- 2.30.2