diff options
author | Mark Spruiell <mes@zeroc.com> | 2002-05-07 19:52:15 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2002-05-07 19:52:15 +0000 |
commit | 5c199cf535961aef1779245a54bc672153286f1f (patch) | |
tree | 5722fef419ff63cc892edded9d4d14b19a19827a /cpp/src/Ice/Initialize.cpp | |
parent | fixing bug with service property set creation (diff) | |
download | ice-5c199cf535961aef1779245a54bc672153286f1f.tar.bz2 ice-5c199cf535961aef1779245a54bc672153286f1f.tar.xz ice-5c199cf535961aef1779245a54bc672153286f1f.zip |
adding overloading for StringSeq
Diffstat (limited to 'cpp/src/Ice/Initialize.cpp')
-rw-r--r-- | cpp/src/Ice/Initialize.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cpp/src/Ice/Initialize.cpp b/cpp/src/Ice/Initialize.cpp index 6bff3fa51ec..dcb044b42e4 100644 --- a/cpp/src/Ice/Initialize.cpp +++ b/cpp/src/Ice/Initialize.cpp @@ -73,6 +73,16 @@ Ice::getDefaultProperties() } PropertiesPtr +Ice::getDefaultProperties(StringSeq& args) +{ + if (!defaultProperties) + { + defaultProperties = createProperties(args); + } + return defaultProperties; +} + +PropertiesPtr Ice::getDefaultProperties(int& argc, char* argv[]) { if (!defaultProperties) @@ -89,6 +99,12 @@ Ice::createProperties() } PropertiesPtr +Ice::createProperties(StringSeq& args) +{ + return new PropertiesI(args); +} + +PropertiesPtr Ice::createProperties(int& argc, char* argv[]) { return new PropertiesI(argc, argv); |