Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / ACE / apps / JAWS3 / jaws3 / Options.cpp
blob93b22a9b6e683aa139a7d2222210dbfb24c08870
1 #include "ace/OS_NS_stdlib.h"
3 #ifndef JAWS_BUILD_DLL
4 #define JAWS_BUILD_DLL
5 #endif /*JAWS_BUILD_DLL*/
7 #include "jaws3/Options.h"
9 JAWS_Options::JAWS_Options ()
11 this->cf_ = new JAWS_Config_File ("jaws.conf");
14 const char *
15 JAWS_Options::getenv (const char *key)
17 const char *value = 0;
18 if (this->cf_ == 0 || this->cf_->find (key, value) < 0)
19 value = ACE_OS::getenv (key);
21 return value;