/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** * Defines the property names for directories available from * nsIDirectoryService. These dirs are always available even if no * nsIDirectoryServiceProviders have been registered with the service. * Application level keys are defined in nsAppDirectoryServiceDefs.h. * * Keys whose definition ends in "DIR" or "FILE" return a single nsIFile (or * subclass). Keys whose definition ends in "LIST" return an nsISimpleEnumerator * which enumerates a list of file objects. * * Defines listed in this file are FROZEN. This list may grow. Each unique * string in this file should have a corresponding atom defined in * StaticAtoms.py (search for "DirectoryService"), regardless of whether it * is defined here due to conditional compilation.
*/
#define NS_OS_TEMP_DIR "TmpD" #define NS_OS_CURRENT_WORKING_DIR "CurWorkD" /* Files stored in this directory will appear on the user's desktop, * if there is one, otherwise it's just the same as "Home"
*/ #define NS_OS_DESKTOP_DIR "Desk" #define NS_OS_DOCUMENTS_DIR "Docs"
#define NS_OS_DEFAULT_DOWNLOAD_DIR "DfltDwnld"
/* Property returns the directory in which the procces was started from.
*/ #define NS_OS_CURRENT_PROCESS_DIR "CurProcD"
/* This location is similar to NS_OS_CURRENT_PROCESS_DIR, however, * NS_XPCOM_CURRENT_PROCESS_DIR can be overriden by passing a "bin * directory" to NS_InitXPCOM().
*/ #define NS_XPCOM_CURRENT_PROCESS_DIR "XCurProcD"
/* Property will return the location of the the XPCOM Shared Library.
*/ #define NS_XPCOM_LIBRARY_FILE "XpcomLib"
/* Property will return the current location of the GRE directory. * On OSX, this typically points to Contents/Resources in the app bundle. * If no GRE is used, this propery will behave like * NS_XPCOM_CURRENT_PROCESS_DIR.
*/ #define NS_GRE_DIR "GreD"
/* Property will return the current location of the GRE-binaries directory. * On OSX, this typically points to Contents/MacOS in the app bundle. On * all other platforms, this will be identical to NS_GRE_DIR. * Since this property is based on the NS_GRE_DIR, if no GRE is used, this * propery will behave like NS_XPCOM_CURRENT_PROCESS_DIR.
*/ #define NS_GRE_BIN_DIR "GreBinD"
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.