#include "LongDoubleTest.h"
#include "Global.h"

LongDoubleTest::LongDoubleTest (CORBA::ORB_ptr orb)
  : orb_ (CORBA::ORB::_duplicate (orb))
{
}

CORBA::LongDouble
LongDoubleTest::get_long_double ()
{
  CORBA::LongDouble ld;
  ACE_CDR_LONG_DOUBLE_ASSIGNMENT (ld, Global::get_long_double ());
  return ld;
}

void
LongDoubleTest::shutdown ()
{
  this->orb_->shutdown (0);
}
