michael@0: /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef nsAppDirectoryServiceDefs_h___ michael@0: #define nsAppDirectoryServiceDefs_h___ michael@0: michael@0: //======================================================================================== michael@0: // michael@0: // Defines property names for directories available from standard nsIDirectoryServiceProviders. michael@0: // These keys are not guaranteed to exist because the nsIDirectoryServiceProviders which michael@0: // provide them are optional. michael@0: // michael@0: // Keys whose definition ends in "DIR" or "FILE" return a single nsIFile (or subclass). michael@0: // Keys whose definition ends in "LIST" return an nsISimpleEnumerator which enumerates a michael@0: // list of file objects. michael@0: // michael@0: // System and XPCOM level properties are defined in nsDirectoryServiceDefs.h. michael@0: // michael@0: //======================================================================================== michael@0: michael@0: michael@0: // -------------------------------------------------------------------------------------- michael@0: // Files and directories which exist on a per-product basis michael@0: // -------------------------------------------------------------------------------------- michael@0: michael@0: #define NS_APP_APPLICATION_REGISTRY_FILE "AppRegF" michael@0: #define NS_APP_APPLICATION_REGISTRY_DIR "AppRegD" michael@0: michael@0: #define NS_APP_DEFAULTS_50_DIR "DefRt" // The root dir of all defaults dirs michael@0: #define NS_APP_PREF_DEFAULTS_50_DIR "PrfDef" michael@0: #define NS_APP_PROFILE_DEFAULTS_50_DIR "profDef" // The profile defaults of the "current" michael@0: // locale. Should be first choice. michael@0: #define NS_APP_PROFILE_DEFAULTS_NLOC_50_DIR "ProfDefNoLoc" // The profile defaults of the "default" michael@0: // installed locale. Second choice michael@0: // when above is not available. michael@0: michael@0: #define NS_APP_USER_PROFILES_ROOT_DIR "DefProfRt" // The dir where user profile dirs live. michael@0: #define NS_APP_USER_PROFILES_LOCAL_ROOT_DIR "DefProfLRt" // The dir where user profile temp dirs live. michael@0: michael@0: #define NS_APP_RES_DIR "ARes" michael@0: #define NS_APP_CHROME_DIR "AChrom" michael@0: #define NS_APP_PLUGINS_DIR "APlugns" // Deprecated - use NS_APP_PLUGINS_DIR_LIST michael@0: #define NS_APP_SEARCH_DIR "SrchPlugns" michael@0: michael@0: #define NS_APP_CHROME_DIR_LIST "AChromDL" michael@0: #define NS_APP_PLUGINS_DIR_LIST "APluginsDL" michael@0: #define NS_APP_SEARCH_DIR_LIST "SrchPluginsDL" michael@0: michael@0: // -------------------------------------------------------------------------------------- michael@0: // Files and directories which exist on a per-profile basis michael@0: // These locations are typically provided by the profile mgr michael@0: // -------------------------------------------------------------------------------------- michael@0: michael@0: // In a shared profile environment, prefixing a profile-relative michael@0: // key with NS_SHARED returns a location that is shared by michael@0: // other users of the profile. Without this prefix, the consumer michael@0: // has exclusive access to this location. michael@0: michael@0: #define NS_SHARED "SHARED" michael@0: michael@0: #define NS_APP_PREFS_50_DIR "PrefD" // Directory which contains user prefs michael@0: #define NS_APP_PREFS_50_FILE "PrefF" michael@0: #define NS_METRO_APP_PREFS_50_FILE "MetroPrefF" // Metro browser prefs file michael@0: #define NS_APP_PREFS_DEFAULTS_DIR_LIST "PrefDL" michael@0: #define NS_EXT_PREFS_DEFAULTS_DIR_LIST "ExtPrefDL" michael@0: #define NS_APP_PREFS_OVERRIDE_DIR "PrefDOverride" // Directory for per-profile defaults michael@0: michael@0: #define NS_APP_USER_PROFILE_50_DIR "ProfD" michael@0: #define NS_APP_USER_PROFILE_LOCAL_50_DIR "ProfLD" michael@0: michael@0: #define NS_APP_USER_CHROME_DIR "UChrm" michael@0: #define NS_APP_USER_SEARCH_DIR "UsrSrchPlugns" michael@0: michael@0: #define NS_APP_LOCALSTORE_50_FILE "LclSt" michael@0: #define NS_APP_USER_PANELS_50_FILE "UPnls" michael@0: #define NS_APP_USER_MIMETYPES_50_FILE "UMimTyp" michael@0: #define NS_APP_CACHE_PARENT_DIR "cachePDir" michael@0: michael@0: #define NS_APP_BOOKMARKS_50_FILE "BMarks" michael@0: michael@0: #define NS_APP_DOWNLOADS_50_FILE "DLoads" michael@0: michael@0: #define NS_APP_SEARCH_50_FILE "SrchF" michael@0: michael@0: #define NS_APP_INSTALL_CLEANUP_DIR "XPIClnupD" //location of xpicleanup.dat xpicleanup.exe michael@0: michael@0: #define NS_APP_INDEXEDDB_PARENT_DIR "indexedDBPDir" michael@0: michael@0: #define NS_APP_PERMISSION_PARENT_DIR "permissionDBPDir" michael@0: #endif