Config -> PrefsConfig where appropriate.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@125 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Michael Bayne
2007-01-31 00:49:05 +00:00
parent 186327b3d1
commit 12f8cabd90
4 changed files with 17 additions and 21 deletions
+5 -6
View File
@@ -21,15 +21,14 @@
package com.threerings.cast;
import com.samskivert.util.Config;
import com.samskivert.util.PrefsConfig;
/**
* Provides access to runtime configuration parameters for this package
* and its subpackages.
* Provides access to runtime configuration parameters for this package and its subpackages.
*/
public class CastPrefs
{
/** Used to load our preferences from a properties file and map them
* to the persistent Java preferences repository. */
public static Config config = new Config("rsrc/config/cast");
/** Used to load our preferences from a properties file and map them to the persistent Java
* preferences repository. */
public static PrefsConfig config = new PrefsConfig("rsrc/config/cast");
}
@@ -101,8 +101,8 @@ import com.jmex.effects.particles.ParticleGeometry;
import com.samskivert.swing.GroupLayout;
import com.samskivert.swing.Spacer;
import com.samskivert.util.Config;
import com.samskivert.util.ObjectUtil;
import com.samskivert.util.PrefsConfig;
import com.samskivert.util.StringUtil;
import com.threerings.resource.ResourceManager;
@@ -1117,8 +1117,7 @@ public class ModelViewer extends JmeCanvasApp
}
/** The app configuration. */
protected static Config _config =
new Config("com/threerings/jme/tools/ModelViewer");
protected static PrefsConfig _config = new PrefsConfig("com/threerings/jme/tools/ModelViewer");
/** Forces all particle systems to respawn. */
protected static SpatialVisitor<ParticleGeometry> _respawner =
@@ -21,15 +21,14 @@
package com.threerings.media;
import com.samskivert.util.Config;
import com.samskivert.util.PrefsConfig;
/**
* Provides access to runtime configuration parameters for the media
* package and its subpackages.
* Provides access to runtime configuration parameters for the media package and its subpackages.
*/
public class MediaPrefs
{
/** Used to load our preferences from a properties file and map them
* to the persistent Java preferences repository. */
public static Config config = new Config("rsrc/config/media");
/** Used to load our preferences from a properties file and map them to the persistent Java
* preferences repository. */
public static PrefsConfig config = new PrefsConfig("rsrc/config/media");
}
+5 -6
View File
@@ -21,15 +21,14 @@
package com.threerings.miso;
import com.samskivert.util.Config;
import com.samskivert.util.PrefsConfig;
/**
* Provides access to runtime configuration parameters for the miso
* package and its subpackages.
* Provides access to runtime configuration parameters for the miso package and its subpackages.
*/
public class MisoPrefs
{
/** Used to load our preferences from a properties file and map them
* to the persistent Java preferences repository. */
public static Config config = new Config("rsrc/config/miso");
/** Used to load our preferences from a properties file and map them to the persistent Java
* preferences repository. */
public static PrefsConfig config = new PrefsConfig("rsrc/config/miso");
}