# Configuration file for photo RDF
# This file is in ruby, watch out !

module Conf
    USE_PANES = false
    # the redraw_interval specifies how often
    # the program is allowed to resize the displayed picture
    # (for slow CPU)
    REDRAW_INTERVAL = 0
    # the CONTENT variable contains the description of all the panes
    # it's a hash containing on line for each tab
    # the key is the "real name" of the tab
    # the value is a hash inside which:
    #    . ns is associated to the namespace of this tab
    #    . content contains a hash linking rdf property names to real names
    CONTENT = 
        {
              "Dublin Core Namespace" => {
                :ns => "http://www.w3.org/2000/PhotoRDF/dc-1-0#",
                :content =>
                {
                    'title'         => 'Title',
                    'author'        => 'Author',
                    'creator'       => 'Creator',
                    'description'   => 'Description',
                    'subject'       => {
                        :name => 'Subject',
                        :content =>
                        {
                            'portrait'          => 'Portrait',
                            'group portrait'    => 'Group portrait',
                            'landscape'         => 'Landscape',
                            'baby'              => 'Baby',
                            'architecture'      => 'Architecture',
                            'wedding'           => 'Wedding',
                            'macro'             => 'Macro',
                            'graphic'           => 'Graphic',
                            'panorama'          => 'Panorama',
                            'animal'            => 'Animal'
                        }
                    },
                    #'publisher'     => 'Publisher',
                    'contributor'   => 'Contributor',
                    'date'          => ['Date','DateTimeDigitized'],
                    #'type'          => 'Type',
                    #'format'        => 'Format',
                    #'identifier'    => 'Identifier',
                    #'coverage'      => 'Coverage',
                    #'rights'        => 'Rights',
                    #'relation'      => 'Relation',
                }
            },
            "Technical Namespace" => {
                :ns => "http://www.w3.org/2000/PhotoRDF/technical-1-0#",
                :content =>
                {
                    'camera'            => ['Camera','Model'],
                    'lens'              => ['Lens','FocalLength'],
                    #'film'              => 'Film',
                    'exposure-time'    => ['Exposure Time','ExposureTime'],
#                    #'devel-date'  => 'Development Date'
                }
            },
#            "Rubum"     => {
#                :ns => "http://oct.zoy.org/ns/2003/rubum-0-1#",
#                :content =>
#                {
#                    'type'  => {
#                        :name => 'Type',
#                        :content => 
#                        {
#                            'folder-image'    => 'Folder Image'
#                        }
#                    }
#                }
#            }
        }
                    
end
