From 9d5f63d7584d9c7f2c91eb631546480094509d1e Mon Sep 17 00:00:00 2001 From: Charlie Groves Date: Thu, 5 Jun 2008 00:14:28 +0000 Subject: [PATCH] Expose the locale prefix and resource list to the whole world git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@524 ed5b42cb-e716-0410-a449-f6a68f950b19 --- src/java/com/threerings/resource/ResourceManager.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/java/com/threerings/resource/ResourceManager.java b/src/java/com/threerings/resource/ResourceManager.java index 451a08e1..4d863abd 100644 --- a/src/java/com/threerings/resource/ResourceManager.java +++ b/src/java/com/threerings/resource/ResourceManager.java @@ -218,6 +218,14 @@ public class ResourceManager } } + /** + * Returns where we're currently looking for locale-specific resources. + */ + public String getLocalePrefix () + { + return _localePrefix; + } + /** * Set where we should look for locale-specific resources. */ @@ -686,7 +694,7 @@ public class ResourceManager * means that we do not know what's available and we'll have to try all possibilities. This * is fine for most applications. */ - protected HashSet getResourceList () + public HashSet getResourceList () { return null; }