summaryrefslogtreecommitdiff
path: root/ruby/src/IceRuby/ObjectFactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/src/IceRuby/ObjectFactory.h')
-rw-r--r--ruby/src/IceRuby/ObjectFactory.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/ruby/src/IceRuby/ObjectFactory.h b/ruby/src/IceRuby/ObjectFactory.h
index 152f73f8425..0d5c29a7d6a 100644
--- a/ruby/src/IceRuby/ObjectFactory.h
+++ b/ruby/src/IceRuby/ObjectFactory.h
@@ -34,14 +34,17 @@ public:
virtual void destroy();
- void add(VALUE, const std::string&);
- VALUE find(const std::string&);
+ void addValueFactory(VALUE, const std::string&);
+ VALUE findValueFactory(const std::string&);
+ void addObjectFactory(VALUE, const std::string&);
+ VALUE findObjectFactory(const std::string&);
void mark();
private:
typedef std::map<std::string, VALUE> FactoryMap;
- FactoryMap _factoryMap;
+ FactoryMap _valueFactoryMap;
+ FactoryMap _objectFactoryMap;
};
typedef IceUtil::Handle<ObjectFactory> ObjectFactoryPtr;