comparison dwt/browser/AppFileLocProvider.d @ 346:2e591eb01162

Browser Package now compiles (phase 2 complete)
author John Reimer <terminal.node@gmail.com>
date Wed, 29 Oct 2008 20:06:08 -0700
parents 8198e6052012
children 9a4d7706df52
comparison
equal deleted inserted replaced
345:5abc6f7f7a95 346:2e591eb01162
37 int refCount = 0; 37 int refCount = 0;
38 String mozillaPath, profilePath; 38 String mozillaPath, profilePath;
39 String[] pluginDirs; 39 String[] pluginDirs;
40 bool isXULRunner; 40 bool isXULRunner;
41 41
42 static final String SEPARATOR_OS = System.getProperty ("file.separator"); //$NON-NLS-1$ 42 static String SEPARATOR_OS;
43 static final String CHROME_DIR = "chrome"; //$NON-NLS-1$ 43 static final String CHROME_DIR = "chrome"; //$NON-NLS-1$
44 static final String COMPONENTS_DIR = "components"; //$NON-NLS-1$ 44 static final String COMPONENTS_DIR = "components"; //$NON-NLS-1$
45 static final String HISTORY_FILE = "history.dat"; //$NON-NLS-1$ 45 static final String HISTORY_FILE = "history.dat"; //$NON-NLS-1$
46 static final String LOCALSTORE_FILE = "localstore.rdf"; //$NON-NLS-1$ 46 static final String LOCALSTORE_FILE = "localstore.rdf"; //$NON-NLS-1$
47 static final String MIMETYPES_FILE = "mimeTypes.rdf"; //$NON-NLS-1$ 47 static final String MIMETYPES_FILE = "mimeTypes.rdf"; //$NON-NLS-1$
48 static final String PLUGINS_DIR = "plugins"; //$NON-NLS-1$ 48 static final String PLUGINS_DIR = "plugins"; //$NON-NLS-1$
49 static final String USER_PLUGINS_DIR = ".mozilla" ~ SEPARATOR_OS ~ "plugins"; //$NON-NLS-1$ //$NON-NLS-2$ 49 static String USER_PLUGINS_DIR;
50 static final String PREFERENCES_FILE = "prefs.js"; //$NON-NLS-1$ 50 static final String PREFERENCES_FILE = "prefs.js"; //$NON-NLS-1$
51 51
52 static this () {
53 SEPARATOR_OS = System.getProperty ("file.separator");
54 USER_PLUGINS_DIR = ".mozilla" ~ SEPARATOR_OS ~ "plugins";
55 }
56
52 this (String path) { 57 this (String path) {
53 mozillaPath = path ~ SEPARATOR_OS; 58 mozillaPath = path ~ SEPARATOR_OS;
54 } 59 }
55 60
56 nsrefcnt AddRef () { 61 nsrefcnt AddRef () {