/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License * for the specific language governing rights and limitations under the * License. * * The Original Code is mozilla.org code. * * The Initial Developer of the Original Code is * Netscape Communications Corporation. * Portions created by the Initial Developer are Copyright (C) 1999 * the Initial Developer. All Rights Reserved. * * Contributor(s): * * Alternatively, the contents of this file may be used under the terms of * either of the GNU General Public License Version 2 or later (the "GPL"), * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), * in which case the provisions of the GPL or the LGPL are applicable instead * of those above. If you wish to allow use of your version of this file only * under the terms of either the GPL or the LGPL, and not to allow others to * use your version of this file under the terms of the MPL, indicate your * decision by deleting the provisions above and replace them with the notice * and other provisions required by the GPL or the LGPL. If you do not delete * the provisions above, a recipient may use your version of this file under * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ /** @file * This file holds our vocabulary definition for the helper * app data source. The helper app data source contains user specified helper * application override information. * * @see profile/defaults/mimeTypes.rdf for documentation on these properties */ #define NC_RDF_MIMETYPES NC_NAMESPACE_URI"MIME-Types" // a mime type has the following properties... #define NC_RDF_MIMETYPE NC_NAMESPACE_URI"MIME-Type" #define NC_RDF_DESCRIPTION NC_NAMESPACE_URI"description" #define NC_RDF_VALUE NC_NAMESPACE_URI"value" #define NC_RDF_EDITABLE NC_NAMESPACE_URI"editable" #define NC_RDF_LARGEICON NC_NAMESPACE_URI"largeIcon" #define NC_RDF_SMALLICON NC_NAMESPACE_URI"smallIcon" #define NC_RDF_HANDLER NC_NAMESPACE_URI"handler" #define NC_RDF_FILEEXTENSIONS NC_NAMESPACE_URI"fileExtensions" #define NC_RDF_CHILD NC_NAMESPACE_URI"child" #define NC_RDF_ROOT "NC:HelperAppRoot" #define NC_CONTENT_NODE_PREFIX "urn:mimetype:" #define NC_CONTENT_NODE_HANDLER_PREFIX "urn:mimetype:handler:" #define NC_CONTENT_NODE_EXTERNALAPP_PREFIX "urn:mimetype:externalApplication:" // File Extensions have file extension properties.... #define NC_RDF_FILEEXTENSION NC_NAMESPACE_URI"fileExtension" // handler properties #define NC_RDF_SAVETODISK NC_NAMESPACE_URI"saveToDisk" #define NC_RDF_USESYSTEMDEFAULT NC_NAMESPACE_URI"useSystemDefault" #define NC_RDF_HANDLEINTERNAL NC_NAMESPACE_URI"handleInternal" #define NC_RDF_ALWAYSASK NC_NAMESPACE_URI"alwaysAsk" #define NC_RDF_EXTERNALAPPLICATION NC_NAMESPACE_URI"externalApplication" // external applications properties.... #define NC_RDF_PRETTYNAME NC_NAMESPACE_URI"prettyName" #define NC_RDF_PATH NC_NAMESPACE_URI"path"