summaryrefslogtreecommitdiff
path: root/ACE/apps/JAWS3/jaws3/Options.cpp
blob: 572fd06697f627b8ea47b7522a2f62daf9c6747c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "ace/OS_NS_stdlib.h"

#ifndef JAWS_BUILD_DLL
#define JAWS_BUILD_DLL
#endif /*JAWS_BUILD_DLL*/

#include "jaws3/Options.h"

JAWS_Options::JAWS_Options (void)
{
  this->cf_ = new JAWS_Config_File ("jaws.conf");
}

const char *
JAWS_Options::getenv (const char *key)
{
  const char *value = 0;
  if (this->cf_ == 0 || this->cf_->find (key, value) < 0)
    value = ACE_OS::getenv (key);

  return value;
}