summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/InterfaceRepo/IFR_Self_Recursive_IDL_Test/GoodDay.cpp
blob: fa074920bd1c817cc9b2e58214d1eb2d096f8f4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include "GoodDay.h"

GoodDay::GoodDay (CORBA::ORB_ptr orb)
  : orb_ (CORBA::ORB::_duplicate (orb))
{
  if (TAO_Requires_IFR_Client_Initializer == -1)
  {
    ACE_ERROR((LM_ERROR, ACE_TEXT("IFR Client failed to load\n")));
  }
}

char *
GoodDay::get_string (void)
{
  return CORBA::string_dup ("Hello there!");
}

void
GoodDay::shutdown (void)
{
  this->orb_->shutdown (false);
}


::Test::GoodDay::RoughWeek *
GoodDay::this_week (void)
{
  // Not actually used.
  return 0;
}